mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
remove some const qualifiers since we may need to modify fields for mapping
This commit is contained in:
parent
cead52ef68
commit
88c018ee47
3 changed files with 6 additions and 6 deletions
|
|
@ -300,8 +300,8 @@ struct dd_function_table {
|
|||
*/
|
||||
void (*GetTexImage)( GLcontext *ctx, GLenum target, GLint level,
|
||||
GLenum format, GLenum type, GLvoid *pixels,
|
||||
const struct gl_texture_object *texObj,
|
||||
const struct gl_texture_image *texImage );
|
||||
struct gl_texture_object *texObj,
|
||||
struct gl_texture_image *texImage );
|
||||
|
||||
/**
|
||||
* Called by glCopyTexImage1D().
|
||||
|
|
|
|||
|
|
@ -4038,8 +4038,8 @@ _mesa_upscale_teximage2d (GLsizei inWidth, GLsizei inHeight,
|
|||
void
|
||||
_mesa_get_teximage(GLcontext *ctx, GLenum target, GLint level,
|
||||
GLenum format, GLenum type, GLvoid *pixels,
|
||||
const struct gl_texture_object *texObj,
|
||||
const struct gl_texture_image *texImage)
|
||||
struct gl_texture_object *texObj,
|
||||
struct gl_texture_image *texImage)
|
||||
{
|
||||
GLuint dimensions = (target == GL_TEXTURE_3D) ? 3 : 2;
|
||||
|
||||
|
|
|
|||
|
|
@ -231,8 +231,8 @@ _mesa_upscale_teximage2d(GLsizei inWidth, GLsizei inHeight,
|
|||
extern void
|
||||
_mesa_get_teximage(GLcontext *ctx, GLenum target, GLint level,
|
||||
GLenum format, GLenum type, GLvoid *pixels,
|
||||
const struct gl_texture_object *texObj,
|
||||
const struct gl_texture_image *texImage);
|
||||
struct gl_texture_object *texObj,
|
||||
struct gl_texture_image *texImage);
|
||||
|
||||
|
||||
extern void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue