diff options
Diffstat (limited to 'src/gl.c')
| -rw-r--r-- | src/gl.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -55,10 +55,11 @@ int lglBlitFramebuffer( lua_State *L ) { dstRect.x, dstRect.y, dstRect.width, dstRect.height, mask, filter - // GL_COLOR_BUFFER_BIT, // mask - // GL_NEAREST // filter ); + glBindFramebuffer( GL_READ_FRAMEBUFFER, 0 ); + glBindFramebuffer( GL_DRAW_FRAMEBUFFER, 0 ); + lua_pushboolean( L, true ); return 1; |
