| 3504 | } |
| 3505 | |
| 3506 | GLuint APIENTRY glCreateShader(GLenum type) |
| 3507 | { |
| 3508 | GLuint result; |
| 3509 | if (sglCreateShader) |
| 3510 | { |
| 3511 | result = sglCreateShader(type); |
| 3512 | ReportGLError("glCreateShader"); |
| 3513 | } |
| 3514 | else |
| 3515 | { |
| 3516 | ReportGLNullFunction("glCreateShader"); |
| 3517 | result = 0; |
| 3518 | } |
| 3519 | |
| 3520 | #if defined(GTE_ENABLE_GLTRACE) |
| 3521 | gsTrace.Call("glCreateShader", std::to_string(result), |
| 3522 | gsTrace.GetName(type)); |
| 3523 | #endif |
| 3524 | return result; |
| 3525 | } |
| 3526 | |
| 3527 | void APIENTRY glDeleteProgram(GLuint program) |
| 3528 | { |
no test coverage detected