summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstore.h
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2008-02-25 16:52:35 -0500
committerKristian Høgsberg <[email protected]>2008-02-25 19:02:06 -0500
commit61c3c2c36301671b8f913cf739e13d049ef91868 (patch)
treee339bafb197cfe58768a8d3c4431b7c919c0c047 /src/mesa/main/texstore.h
parent6e8d21d72f35767e07081a8bee4323aaaf5e2aae (diff)
Change GetCompressedTexImage in dd_function_table to not take const pointers.
They're changed by the intel driver implementation and thus not const. Fixes compilation warning.
Diffstat (limited to 'src/mesa/main/texstore.h')
-rw-r--r--src/mesa/main/texstore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texstore.h b/src/mesa/main/texstore.h
index da0c7cb78e5..5128bc58276 100644
--- a/src/mesa/main/texstore.h
+++ b/src/mesa/main/texstore.h
@@ -214,8 +214,8 @@ _mesa_get_teximage(GLcontext *ctx, GLenum target, GLint level,
extern void
_mesa_get_compressed_teximage(GLcontext *ctx, GLenum target, GLint level,
GLvoid *img,
- const struct gl_texture_object *texObj,
- const struct gl_texture_image *texImage);
+ struct gl_texture_object *texObj,
+ struct gl_texture_image *texImage);
extern const GLvoid *
_mesa_validate_pbo_teximage(GLcontext *ctx, GLuint dimensions,