]> git.cworth.org Git - apitrace/commit
gles: sanity check GL_COMBINED_TEXTURE_IMAGE_UNITS
authorImre Deak <imre.deak@intel.com>
Mon, 9 Apr 2012 16:35:41 +0000 (19:35 +0300)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 12 Apr 2012 21:59:26 +0000 (22:59 +0100)
commite68b8d68741f2559a4be34d53b8aa3c7ed761471
tree65215b6fa5fb6791d6a18723de4390a8e00b3602
parentd40b012ed523669eaf8dcf25c6d5cdea2d32e084
gles: sanity check GL_COMBINED_TEXTURE_IMAGE_UNITS

At least the Android software GL implementation doesn't return the
proper value for this, but rather returns 0. The GL(ES) specification
mandates a minimum value of 2, so use this as a fall-back value.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
glstate_images.cpp
glstate_params.py