| 759 | |
| 760 | |
| 761 | void glNamedFramebufferReadBuffer(GLuint framebuffer, GLenum mode) |
| 762 | { |
| 763 | if(faker::getOGLExcludeCurrent() || faker::getEGLXContextCurrent()) |
| 764 | { |
| 765 | _glNamedFramebufferReadBuffer(framebuffer, mode); |
| 766 | return; |
| 767 | } |
| 768 | |
| 769 | TRY(); |
| 770 | |
| 771 | backend::namedFramebufferReadBuffer(framebuffer, mode); |
| 772 | |
| 773 | CATCH(); |
| 774 | } |
| 775 | |
| 776 | |
| 777 | // glPopAttrib() can change the draw buffer state as well :| |
nothing calls this directly
no test coverage detected