| 11596 | } |
| 11597 | |
| 11598 | void APIENTRY glGetProgramResourceiv(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum* props, GLsizei bufSize, GLsizei* length, GLint* params) |
| 11599 | { |
| 11600 | if (sglGetProgramResourceiv) |
| 11601 | { |
| 11602 | sglGetProgramResourceiv(program, programInterface, index, propCount, props, bufSize, length, params); |
| 11603 | ReportGLError("glGetProgramResourceiv"); |
| 11604 | } |
| 11605 | else |
| 11606 | { |
| 11607 | ReportGLNullFunction("glGetProgramResourceiv"); |
| 11608 | } |
| 11609 | |
| 11610 | #if defined(GTE_ENABLE_GLTRACE) |
| 11611 | gsTrace.Call("glGetProgramResourceiv", "", |
| 11612 | program, gsTrace.GetName(programInterface), index, propCount, |
| 11613 | propCount, gsTrace.GetEnumArray(propCount, props), bufSize, |
| 11614 | (length != nullptr ? *length : 0), gsTrace.GetArray(propCount, params)); |
| 11615 | #endif |
| 11616 | } |
| 11617 | |
| 11618 | GLint APIENTRY glGetProgramResourceLocation(GLuint program, GLenum programInterface, const GLchar* name) |
| 11619 | { |
no test coverage detected