MCPcopy Create free account
hub / github.com/android/ndk-samples / checkGlError

Function checkGlError

hello-gl2/app/src/main/cpp/gl_code.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37static void checkGlError(const char* op) {
38 for (GLint error = glGetError(); error; error = glGetError()) {
39 LOGI("after %s() glError (0x%x)\n", op, error);
40 }
41}
42
43auto gVertexShader =
44 "attribute vec4 vPosition;\n"

Callers 3

createProgramFunction · 0.70
setupGraphicsFunction · 0.70
renderFrameFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected