private static void checkLocation()

in app/src/main/java/com/facebook/sample/gles/ShaderProgram.java [39:44]


    private static void checkLocation(int location, String name) {
        if (location >= 0) {
            return;
        }
        throw new RuntimeException("Could not find location for " + name);
    }