diff options
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 38c7d6b76fd..62153dca418 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -582,7 +582,7 @@ _mesa_free_texture_image_data( GLcontext *ctx, struct gl_texture_image *texImage { if (texImage->Data && !texImage->IsClientData) { /* free the old texture data */ - MESA_PBUFFER_FREE(texImage->Data); + _mesa_free(texImage->Data); } texImage->Data = NULL; |