summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glformats.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-09-22 09:30:24 -0600
committerBrian Paul <[email protected]>2012-09-26 07:43:49 -0600
commit3ba9dbbabf591cfeb388cafbd9fa40cb784d32d9 (patch)
treea3a32cfece4a321656338dd8e228c248fcd0e269 /src/mesa/main/glformats.h
parent8348076ae444ab26d381cec1b388a1af4e0b0eba (diff)
mesa: move _mesa_es_error_check_format_and_type() to glformats.c
Where the non-ES _mesa_error_check_format_and_type() function lives. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/glformats.h')
-rw-r--r--src/mesa/main/glformats.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/glformats.h b/src/mesa/main/glformats.h
index 24fbda99137..e5b63a9636d 100644
--- a/src/mesa/main/glformats.h
+++ b/src/mesa/main/glformats.h
@@ -98,6 +98,10 @@ extern GLenum
_mesa_error_check_format_and_type(const struct gl_context *ctx,
GLenum format, GLenum type);
+extern GLenum
+_mesa_es_error_check_format_and_type(GLenum format, GLenum type,
+ unsigned dimensions);
+
#ifdef __cplusplus
}