summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.c
diff options
context:
space:
mode:
authorAlejandro Piñeiro <[email protected]>2017-01-11 18:11:55 -0200
committerAlejandro Piñeiro <[email protected]>2017-01-12 08:21:03 -0200
commitf354cd5c69b0b1fe7db87473240a51ecc7369c03 (patch)
treeda02d8e60e654cda4940891beae26098e0d43989 /src/mesa/main/state.c
parentd54bc7e01f3f2e3178adecf53ea243470a3d5d93 (diff)
main/buffers: take into account FRONT_AND_BACK on ReadBuffer
From OpenGL 3.1 spec, section 4.3.1 "Reading Pixels", page 190 (203 PDF) "When READ FRAMEBUFFER BINDING is zero, i.e. the default framebuffer, src must be one of the values listed in table 4.4, including NONE . FRONT_AND_BACK , FRONT , and LEFT refer to the front left buffer." There is an equivalent text on OpenGL 4.5 spec, section 18.2.1 "Selecting Buffers for Reading", page 502 (524 PDF), so the behaviour is still the same. Part of the fix for: GL45-CTS.direct_state_access.framebuffers_draw_read_buffers_errors Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/state.c')
0 files changed, 0 insertions, 0 deletions