| 843 | |
| 844 | |
| 845 | void namedFramebufferDrawBuffer(GLuint framebuffer, GLenum buf, bool ext) |
| 846 | { |
| 847 | if(fconfig.egl) |
| 848 | { |
| 849 | FakePbuffer *pb; |
| 850 | if(framebuffer == 0 |
| 851 | && (pb = PBHASHEGL.find(getCurrentDrawableEGL())) != NULL) |
| 852 | { |
| 853 | pb->setDrawBuffer(buf, true); |
| 854 | return; |
| 855 | } |
| 856 | } |
| 857 | if(ext) _glFramebufferDrawBufferEXT(framebuffer, buf); |
| 858 | else _glNamedFramebufferDrawBuffer(framebuffer, buf); |
| 859 | } |
| 860 | |
| 861 | |
| 862 | void namedFramebufferDrawBuffers(GLuint framebuffer, GLsizei n, |
no test coverage detected