mesa: Set new renderbuffers to RGBA4 on all GLES contexts.
authorEric Anholt <eric@anholt.net>
Mon, 1 May 2017 17:21:36 +0000 (10:21 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 10 Oct 2017 16:31:29 +0000 (09:31 -0700)
commit45f34d733b22c9aabc13bd6a553833fd73f534b3
tree3ab08644b4960b7ecdab2209ffc01c82874306bc
parentc16a7443e9999a80bc1e87134297f96f1216d702
mesa: Set new renderbuffers to RGBA4 on all GLES contexts.

Before we were doing RGBA4 on GLES3 only, but as of GLES2 2.0.22 it should
be RGBA4 as well.  Fixes DEQP
functional.state_query.rbo.renderbuffer_internal_format.

Tested-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/renderbuffer.c