| 860 | |
| 861 | |
| 862 | void namedFramebufferDrawBuffers(GLuint framebuffer, GLsizei n, |
| 863 | const GLenum *bufs, bool ext) |
| 864 | { |
| 865 | if(fconfig.egl) |
| 866 | { |
| 867 | FakePbuffer *pb; |
| 868 | if(framebuffer == 0 |
| 869 | && (pb = PBHASHEGL.find(getCurrentDrawableEGL())) != NULL) |
| 870 | { |
| 871 | pb->setDrawBuffers(n, bufs, true); |
| 872 | return; |
| 873 | } |
| 874 | } |
| 875 | if(ext) _glFramebufferDrawBuffersEXT(framebuffer, n, bufs); |
| 876 | else _glNamedFramebufferDrawBuffers(framebuffer, n, bufs); |
| 877 | } |
| 878 | |
| 879 | |
| 880 | void namedFramebufferReadBuffer(GLuint framebuffer, GLenum mode, bool ext) |
no test coverage detected