File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,12 @@ module Graphics.WebGLFramebuffer
16
16
(
17
17
WebGLBuf (..)
18
18
, createFramebuffer
19
+ , checkFramebufferStatus
19
20
, bindFramebuffer
20
21
, unbindFramebuffer
21
22
, WebGLRendBuf (..)
22
23
, createRenderbuffer
23
- , bindRenderbuffer
24
+ , bindRenderbuffer
24
25
, unbindRenderbuffer
25
26
, RenderbufferFormat (..)
26
27
, renderbufferStorage
@@ -62,6 +63,9 @@ attachementPointToConst DEPTH_ATTACHMENT = _DEPTH_ATTACHMENT
62
63
attachementPointToConst STENCIL_ATTACHMENT = _STENCIL_ATTACHMENT
63
64
attachementPointToConst DEPTH_STENCIL_ATTACHMENT = _DEPTH_STENCIL_ATTACHMENT
64
65
66
+ checkFramebufferStatus :: forall eff . GLenum -> Eff (webgl :: WebGl | eff ) GLenum
67
+ checkFramebufferStatus = runFn1 checkFramebufferStatus_
68
+
65
69
createFramebuffer :: forall eff . EffWebGL eff WebGLBuf
66
70
createFramebuffer = do
67
71
b <- runFn0 createFramebuffer_
You can’t perform that action at this time.
0 commit comments