diff options
author | Anuj Phogat <[email protected]> | 2014-05-30 17:33:54 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2014-08-04 17:11:00 -0700 |
commit | ac2adf66c1ce009fed9175c891f4d90c6d79b7ab (patch) | |
tree | 740c4ff63bedac5a08a2b85452b201c17049605f /src/mesa/main/teximage.h | |
parent | a94d78438d35cfde851596dff8461f1e739a0ddc (diff) |
mesa: Turn target_can_be_compressed() in to a utility function
V2: Declare the function in teximage.h
Cc: <[email protected]>
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r-- | src/mesa/main/teximage.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index 42305f44f0b..52bfa781672 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -123,6 +123,9 @@ _mesa_test_proxy_teximage(struct gl_context *ctx, GLenum target, GLint level, mesa_format format, GLint width, GLint height, GLint depth, GLint border); +extern GLboolean +_mesa_target_can_be_compressed(const struct gl_context *ctx, GLenum target, + GLenum intFormat); extern GLuint _mesa_tex_target_to_face(GLenum target); |