summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstorage.h
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2013-03-22 19:58:03 +1300
committerChris Forbes <[email protected]>2013-03-31 22:19:13 +1300
commit7f32b9560b63ffa6967bbc0c8e61d2cc30081ab3 (patch)
tree647767b6ce4f3ad6459462aacc9dd36a120d810d /src/mesa/main/texstorage.h
parentfdc5941972891711a1398440dd6b1f06f7598ef6 (diff)
mesa: extract _mesa_is_legal_tex_storage_format helper
This is about to be used in teximagemultisample() when immutable=true. Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/texstorage.h')
-rw-r--r--src/mesa/main/texstorage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/texstorage.h b/src/mesa/main/texstorage.h
index 99382df51d3..9f172e1ca65 100644
--- a/src/mesa/main/texstorage.h
+++ b/src/mesa/main/texstorage.h
@@ -57,5 +57,8 @@ _mesa_TextureStorage3DEXT(GLuint texture, GLenum target, GLsizei levels,
GLenum internalformat,
GLsizei width, GLsizei height, GLsizei depth);
+extern GLboolean
+_mesa_is_legal_tex_storage_format(struct gl_context *ctx, GLenum internalformat);
+
#endif /* TEXSTORAGE_H */