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

Function _printProgramLog

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

Source from the content-addressed store, hash-verified

50}
51
52static void _printProgramLog(GLuint program) {
53 char buf[2048];
54 memset(buf, 0, sizeof(buf));
55 LOGE("*** Getting info log for program %u", program);
56 glGetProgramInfoLog(program, sizeof(buf) - 1, NULL, buf);
57 LOGE("*** Info log:\n%s", buf);
58}
59
60void Shader::Compile() {
61 const char *vsrc = 0, *fsrc = 0;

Callers 1

CompileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected