summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glformats.h
diff options
context:
space:
mode:
authorKalyan Kondapally <kondapallykalyancontribute@gmail.com>2015-01-27 09:23:00 +0200
committerTapani Pälli <tapani.palli@intel.com>2015-01-29 08:21:41 +0200
commit2c2a92d5b87f669da9fa88fdd094304fcf1eb09a (patch)
treebae757403598e98d7fb7e8577c1bb6bf1e7d3484 /src/mesa/main/glformats.h
parenta63c8a524b01e802cf2505099f930c0cb97df0b2 (diff)
downloadexternal_mesa3d-2c2a92d5b87f669da9fa88fdd094304fcf1eb09a.zip
external_mesa3d-2c2a92d5b87f669da9fa88fdd094304fcf1eb09a.tar.gz
external_mesa3d-2c2a92d5b87f669da9fa88fdd094304fcf1eb09a.tar.bz2
Mesa: Add support for HALF_FLOAT_OES type.
This patch adds needed support for accepting HALF_FLOAT_OES as valid type for TexImage*D and TexSubImage*D when Texture FLoat extensions are supported. Signed-off-by: Kevin Rogovin <kevin.rogovin@intel.com> Signed-off-by: Kalyan Kondapally <kalyan.kondapally@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Diffstat (limited to 'src/mesa/main/glformats.h')
-rw-r--r--src/mesa/main/glformats.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/glformats.h b/src/mesa/main/glformats.h
index f77edfa..e1ecd64 100644
--- a/src/mesa/main/glformats.h
+++ b/src/mesa/main/glformats.h
@@ -125,7 +125,8 @@ _mesa_es_error_check_format_and_type(GLenum format, GLenum type,
unsigned dimensions);
extern GLenum
-_mesa_es3_error_check_format_and_type(GLenum format, GLenum type,
+_mesa_es3_error_check_format_and_type(const struct gl_context *ctx,
+ GLenum format, GLenum type,
GLenum internalFormat);
extern uint32_t