mesa: Enable GL_RGB/GL_RGBA in GLES3 glGetInternalformativ
authorMike Mason <michael.w.mason@intel.com>
Mon, 12 Jan 2015 22:37:28 +0000 (14:37 -0800)
committerChad Versace <chad.versace@intel.com>
Tue, 13 Jan 2015 19:23:46 +0000 (11:23 -0800)
commit90d2a8519307effd4081baadf16067073f2aae49
tree86fcdf396aef2b1595692e9d8386846bf87a4c56
parent876550ff97b9c97df02f9bf0e29198be963d8e89
mesa: Enable GL_RGB/GL_RGBA in GLES3 glGetInternalformativ

Removes commit 7894278 changes and moves fix to _mesa_GetInternalformativ().
The original commit enabled the GL_RGB and GL_RGBA unsized internal formats
as valid for render buffers in GLES3, but this is incorrect. They should
have only been enabled for GetInternalformativ()

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88079
Reviewed-by: Chad Versace <chad.versace@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/fbobject.c
src/mesa/main/formatquery.c