diff options
author | Kalyan Kondapally <[email protected]> | 2015-01-27 09:23:00 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-01-29 08:21:41 +0200 |
commit | 2c2a92d5b87f669da9fa88fdd094304fcf1eb09a (patch) | |
tree | bae757403598e98d7fb7e8577c1bb6bf1e7d3484 /src/mesa/main/glformats.h | |
parent | a63c8a524b01e802cf2505099f930c0cb97df0b2 (diff) |
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 <[email protected]>
Signed-off-by: Kalyan Kondapally <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa/main/glformats.h')
-rw-r--r-- | src/mesa/main/glformats.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/glformats.h b/src/mesa/main/glformats.h index f77edfa360a..e1ecd64d5f9 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 |