diff options
author | Kristian Høgsberg <[email protected]> | 2008-02-25 16:52:35 -0500 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2008-02-25 19:02:06 -0500 |
commit | 61c3c2c36301671b8f913cf739e13d049ef91868 (patch) | |
tree | e339bafb197cfe58768a8d3c4431b7c919c0c047 /src/mesa/drivers/dri/intel/intel_tex.h | |
parent | 6e8d21d72f35767e07081a8bee4323aaaf5e2aae (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/drivers/dri/intel/intel_tex.h')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_tex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex.h b/src/mesa/drivers/dri/intel/intel_tex.h index d1055be93e6..34995f4ebf2 100644 --- a/src/mesa/drivers/dri/intel/intel_tex.h +++ b/src/mesa/drivers/dri/intel/intel_tex.h @@ -132,8 +132,8 @@ void intelCompressedTexImage2D( GLcontext *ctx, GLenum target, GLint level, void intelGetCompressedTexImage(GLcontext *ctx, GLenum target, GLint level, GLvoid *pixels, - const struct gl_texture_object *texObj, - const struct gl_texture_image *texImage); + struct gl_texture_object *texObj, + struct gl_texture_image *texImage); void intelSetTexOffset(__DRIcontext *pDRICtx, GLint texname, unsigned long long offset, GLint depth, GLuint pitch); |