mesa: Fix render buffer initial internal format in GLES 3
authorMike Mason <michael.w.mason@intel.com>
Wed, 14 Jan 2015 20:12:27 +0000 (12:12 -0800)
committerChad Versace <chad.versace@intel.com>
Thu, 15 Jan 2015 21:29:48 +0000 (13:29 -0800)
commite407fb1af4c0ca20fd839e8c3cb63cf82789b8ca
tree840e9d9a55956861a9d6bdb5b1a2a199420cbbd9
parent153b8b35257fb5d68735b5e43e48b0cdb8b15170
mesa: Fix render buffer initial internal format in GLES 3

Changes the initial internal format of a render buffer
to GL_RGBA4 in GLES 3. This fixes a failure in the following
DrawElements test:

  dEQP-GLES3.functional.state_query.rbo.renderbuffer_internal_format

Reviewed-by: Chad Versace <chad.versace@intel.com>
src/mesa/main/renderbuffer.c