diff options
author | Matt Turner <[email protected]> | 2012-12-06 14:51:29 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2013-01-14 20:47:59 -0800 |
commit | 9cfcac45283e12188de915bd6be3522f13b690d3 (patch) | |
tree | fda403d449ecb68435db876f4d0d512e10eb5b8c /src/mesa/main/glformats.h | |
parent | cf300eaab68153d818f6c29f4b487162a589dcfa (diff) |
glformats: add _mesa_es3_error_check_format_and_type
This function checks for ES3 compatible
format/type/internalFormat/dimension combinations.
[[email protected]: additional tweaks for gles3-gtf]
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/glformats.h')
-rw-r--r-- | src/mesa/main/glformats.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/glformats.h b/src/mesa/main/glformats.h index fe604ddc973..4cbc82f5e01 100644 --- a/src/mesa/main/glformats.h +++ b/src/mesa/main/glformats.h @@ -120,6 +120,11 @@ extern GLenum _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, + GLenum internalFormat, + unsigned dimensions); + #ifdef __cplusplus } |