| 11556 | } |
| 11557 | |
| 11558 | GLuint APIENTRY glGetProgramResourceIndex(GLuint program, GLenum programInterface, const GLchar* name) |
| 11559 | { |
| 11560 | GLuint result; |
| 11561 | if (sglGetProgramResourceIndex) |
| 11562 | { |
| 11563 | result = sglGetProgramResourceIndex(program, programInterface, name); |
| 11564 | ReportGLError("glGetProgramResourceIndex"); |
| 11565 | } |
| 11566 | else |
| 11567 | { |
| 11568 | ReportGLNullFunction("glGetProgramResourceIndex"); |
| 11569 | result = 0; |
| 11570 | } |
| 11571 | |
| 11572 | #if defined(GTE_ENABLE_GLTRACE) |
| 11573 | gsTrace.Call("glGetProgramResourceIndex", std::to_string(result), |
| 11574 | program, gsTrace.GetName(programInterface), name); |
| 11575 | #endif |
| 11576 | return result; |
| 11577 | } |
| 11578 | |
| 11579 | void APIENTRY glGetProgramResourceName(GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei* length, GLchar* name) |
| 11580 | { |
no test coverage detected