diff options
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 411ec49efd1..bc3b76a926d 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -5082,12 +5082,10 @@ texture_buffer_range(struct gl_context *ctx, if (ctx->Driver.TexParameter) { if (offset != oldOffset) { - ctx->Driver.TexParameter(ctx, texObj, GL_TEXTURE_BUFFER_OFFSET, - (const GLfloat *) &offset); + ctx->Driver.TexParameter(ctx, texObj, GL_TEXTURE_BUFFER_OFFSET); } if (size != oldSize) { - ctx->Driver.TexParameter(ctx, texObj, GL_TEXTURE_BUFFER_SIZE, - (const GLfloat *) &size); + ctx->Driver.TexParameter(ctx, texObj, GL_TEXTURE_BUFFER_SIZE); } } |