summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d638587)
It seems that this has been broken since
ce36589 without getting noticed.
unsigned buffers = get_gl_buffer_bits(source->get_format())&get_gl_buffer_bits(target.get_format());
if(ARB_direct_state_access)
unsigned buffers = get_gl_buffer_bits(source->get_format())&get_gl_buffer_bits(target.get_format());
if(ARB_direct_state_access)
glBlitNamedFramebuffer(source->id, target.id, 0, 0, width, height, 0, 0, width, height, buffers, GL_NEAREST);
glBlitNamedFramebuffer(source->id, target.id, 0, 0, width, height, 0, 0, width, height, buffers, GL_NEAREST);
else
{
glBindFramebuffer(GL_READ_FRAMEBUFFER, source->id);
else
{
glBindFramebuffer(GL_READ_FRAMEBUFFER, source->id);