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

Function _printShaderLog

endless-tunnel/app/src/main/cpp/shader.cpp:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44static void _printShaderLog(GLuint shader) {
45 char buf[2048];
46 memset(buf, 0, sizeof(buf));
47 LOGE("*** Getting info log for shader %u", shader);
48 glGetShaderInfoLog(shader, sizeof(buf) - 1, NULL, buf);
49 LOGE("*** Info log:\n%s", buf);
50}
51
52static void _printProgramLog(GLuint program) {
53 char buf[2048];

Callers 1

CompileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected