gpu.framebuffers: simplify bitor.

flac
John Benediktsson 2020-02-12 17:00:34 -08:00 committed by Steve Ayerhart
parent d1d15718a0
commit b52d5081a7
No known key found for this signature in database
GPG Key ID: 5BFD39C5359E967D
1 changed files with 2 additions and 2 deletions

View File

@ -382,8 +382,8 @@ TYPED:: copy-framebuffer ( to-fb-rect: framebuffer-rect
GL_READ_FRAMEBUFFER from-fb-rect framebuffer>> framebuffer-handle glBindFramebuffer
from-fb-rect [ framebuffer>> ] [ attachment>> ] bi gl-attachment glReadBuffer
to-fb-rect attachment>> [ GL_COLOR_BUFFER_BIT ] [ 0 ] if
depth? [ GL_DEPTH_BUFFER_BIT ] [ 0 ] if bitor
stencil? [ GL_STENCIL_BUFFER_BIT ] [ 0 ] if bitor :> mask
depth? [ GL_DEPTH_BUFFER_BIT bitor ] when
stencil? [ GL_STENCIL_BUFFER_BIT bitor ] when :> mask
from-fb-rect rect>> rect-extent [ first2 ] bi@
to-fb-rect rect>> rect-extent [ first2 ] bi@