cleaning
This commit is contained in:
parent
44fdd2e766
commit
84b1a86f22
2 changed files with 2 additions and 3 deletions
|
@ -45,9 +45,8 @@ load _ = do
|
||||||
traceM "checkerboard"
|
traceM "checkerboard"
|
||||||
over <- G.gegl_node_new_child root G.defaultOverOperation
|
over <- G.gegl_node_new_child root G.defaultOverOperation
|
||||||
traceM "over"
|
traceM "over"
|
||||||
buffer@(G.GeglBuffer b) <- G.gegl_buffer_new (Just $ G.GeglRectangle 0 0 800 600) =<<
|
buffer <- G.gegl_buffer_new (Just $ G.GeglRectangle 0 0 800 600) =<<
|
||||||
B.babl_format (B.PixelFormat B.RGBA B.CFfloat)
|
B.babl_format (B.PixelFormat B.RGBA B.CFfloat)
|
||||||
bufPtr <- new b
|
|
||||||
sink <- G.gegl_node_new_child root $ G.Operation "gegl:copy-buffer"
|
sink <- G.gegl_node_new_child root $ G.Operation "gegl:copy-buffer"
|
||||||
[ G.Property "buffer" $ G.PropertyBuffer buffer
|
[ G.Property "buffer" $ G.PropertyBuffer buffer
|
||||||
]
|
]
|
||||||
|
|
|
@ -47,7 +47,7 @@ load _ = do
|
||||||
traceM "checkerboard"
|
traceM "checkerboard"
|
||||||
over <- G.gegl_node_new_child root G.defaultOverOperation
|
over <- G.gegl_node_new_child root G.defaultOverOperation
|
||||||
traceM "over"
|
traceM "over"
|
||||||
buffer@(G.GeglBuffer b) <- G.gegl_buffer_new (Just $ G.GeglRectangle 0 0 800 600) =<<
|
buffer <- G.gegl_buffer_new (Just $ G.GeglRectangle 0 0 800 600) =<<
|
||||||
B.babl_format (B.PixelFormat B.RGBA B.CFfloat)
|
B.babl_format (B.PixelFormat B.RGBA B.CFfloat)
|
||||||
sink <- G.gegl_node_new_child root $ G.Operation "gegl:copy-buffer"
|
sink <- G.gegl_node_new_child root $ G.Operation "gegl:copy-buffer"
|
||||||
[G.Property "buffer" $ G.PropertyBuffer buffer
|
[G.Property "buffer" $ G.PropertyBuffer buffer
|
||||||
|
|
Loading…
Reference in a new issue