diff options
author | Joe Crayne <joe@jerkface.net> | 2019-04-08 07:03:02 -0400 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2019-04-08 07:03:02 -0400 |
commit | 42c7f6bd91165816dd10a20d0571057c286265b7 (patch) | |
tree | af1262027f2c3029ee35b14df92a584f590b1691 /GL.hs | |
parent | 731bffa2d5111bd3494868287ea5b4f491ddee40 (diff) |
Disabling glBindFramebuffer makes it work with GTK!
Diffstat (limited to 'GL.hs')
-rw-r--r-- | GL.hs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -167,7 +167,9 @@ glDisableVertexAttribArray :: MonadIO m => C.GLuint -> m () | |||
167 | glDisableVertexAttribArray = ind1 "glDisableVertexAttribArray" C.glDisableVertexAttribArray | 167 | glDisableVertexAttribArray = ind1 "glDisableVertexAttribArray" C.glDisableVertexAttribArray |
168 | 168 | ||
169 | glBindFramebuffer :: MonadIO m => C.GLenum -> C.GLuint -> m () | 169 | glBindFramebuffer :: MonadIO m => C.GLenum -> C.GLuint -> m () |
170 | glBindFramebuffer = ind2 "glBindFramebuffer" C.glBindFramebuffer | 170 | -- glBindFramebuffer = ind2 "glBindFramebuffer" C.glBindFramebuffer |
171 | glBindFramebuffer _ _ = return () | ||
172 | |||
171 | glBlendEquationSeparate :: MonadIO m => | 173 | glBlendEquationSeparate :: MonadIO m => |
172 | C.GLenum -> C.GLenum -> m () | 174 | C.GLenum -> C.GLenum -> m () |
173 | glBlendEquationSeparate = ind2 "glBlendEquationSeparate" C.glBlendEquationSeparate | 175 | glBlendEquationSeparate = ind2 "glBlendEquationSeparate" C.glBlendEquationSeparate |