| 84 | |
| 85 | protected: |
| 86 | static void CheckCompileError(const GFSDK_SSAO_GLFunctions& GL, GLuint Shader) |
| 87 | { |
| 88 | GLint Compiled = 0; |
| 89 | GL.glGetShaderiv(Shader, GL_COMPILE_STATUS, &Compiled); |
| 90 | ASSERT_GL_ERROR(GL); |
| 91 | |
| 92 | #if _DEBUG |
| 93 | char temp[1024]; |
| 94 | GL.glGetShaderInfoLog(Shader, sizeof(temp), 0, temp); |
| 95 | if (!Compiled || strstr(temp, "deprecated")) |
| 96 | { |
| 97 | fprintf(stderr, "%s\n", temp); |
| 98 | ASSERT(0); |
| 99 | } |
| 100 | #endif |
| 101 | |
| 102 | THROW_IF(!Compiled); |
| 103 | } |
| 104 | |
| 105 | static void CheckLinkError(const GFSDK_SSAO_GLFunctions& GL, GLuint Program) |
| 106 | { |
nothing calls this directly
no outgoing calls
no test coverage detected