| 640 | |
| 641 | |
| 642 | const GLubyte *glGetStringi(GLenum name, GLuint index) |
| 643 | { |
| 644 | const GLubyte *string = NULL; |
| 645 | |
| 646 | if(faker::getOGLExcludeCurrent() || faker::getEGLXContextCurrent()) |
| 647 | return _glGetStringi(name, index); |
| 648 | |
| 649 | TRY(); |
| 650 | |
| 651 | string = _glGetStringi(name, index); |
| 652 | if(name == GL_EXTENSIONS && string |
| 653 | && !strcmp((char *)string, "GL_EXT_x11_sync_object")) |
| 654 | { |
| 655 | // This is a hack to avoid interposing the various flavors of |
| 656 | // glGetInteger*() and modifying the value returned for GL_NUM_EXTENSIONS. |
| 657 | string = (const GLubyte *)""; |
| 658 | } |
| 659 | |
| 660 | CATCH(); |
| 661 | |
| 662 | return string; |
| 663 | } |
| 664 | |
| 665 | |
| 666 | void glNamedFramebufferDrawBuffer(GLuint framebuffer, GLenum buf) |
no outgoing calls
no test coverage detected