Skip to content

Commit

Permalink
Reverse framebuffer initialization for :bodge-gl2 feature
Browse files Browse the repository at this point in the history
  • Loading branch information
borodust committed Jan 15, 2019
1 parent 917cc5e commit 7de0fc1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions graphics/context.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
:depth-test
:program-point-size)
(if (featurep :bodge-gl2)
(progn
(setf supplementary-framebuffer t
depth-stencil-renderbuffer t))
(progn
(gx.state:enable :texture-cube-map-seamless)
(setf supplementary-framebuffer (gl:gen-framebuffer)
depth-stencil-renderbuffer (gl:gen-renderbuffer)))
(progn
(setf supplementary-framebuffer t
depth-stencil-renderbuffer t)))
depth-stencil-renderbuffer (gl:gen-renderbuffer))))
(gx.state:disable :scissor-test
:stencil-test)
(gx.state:cull-face :back)
Expand Down

0 comments on commit 7de0fc1

Please sign in to comment.