diff options
author | Daniel Borca <[email protected]> | 2004-10-20 11:59:28 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2004-10-20 11:59:28 +0000 |
commit | a7855e835dc5e806a232a50ee7f2bea0ceb7dc9b (patch) | |
tree | bc0b7fb6e8a5795aa8f4f99c4f562bef99e75a99 /src/mesa/drivers/glide/fxsetup.c | |
parent | 05517d02be557d49b3ce043a4b2c179320e42412 (diff) |
fixed compilation errors
Diffstat (limited to 'src/mesa/drivers/glide/fxsetup.c')
-rw-r--r-- | src/mesa/drivers/glide/fxsetup.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/mesa/drivers/glide/fxsetup.c b/src/mesa/drivers/glide/fxsetup.c index 71b66fcc1d7..2496d1d8bf6 100644 --- a/src/mesa/drivers/glide/fxsetup.c +++ b/src/mesa/drivers/glide/fxsetup.c @@ -69,11 +69,13 @@ fxTexValidate(GLcontext * ctx, struct gl_texture_object *tObj) #if FX_RESCALE_BIG_TEXURES_HACK { - extern void _mesa_rescale_teximage2d( GLuint bytesPerPixel, - GLuint dstRowStride, - GLint srcWidth, GLint srcHeight, - GLint dstWidth, GLint dstHeight, - const GLvoid *srcImage, GLvoid *dstImage ); +extern void +_mesa_rescale_teximage2d (GLuint bytesPerPixel, + GLuint srcStrideInPixels, + GLuint dstRowStride, + GLint srcWidth, GLint srcHeight, + GLint dstWidth, GLint dstHeight, + const GLvoid *srcImage, GLvoid *dstImage); fxMesaContext fxMesa = FX_CONTEXT(ctx); /* [dBorca] * Fake textures larger than HW supports: @@ -111,6 +113,7 @@ fxTexValidate(GLcontext * ctx, struct gl_texture_object *tObj) _h *= mml->hScale; texImage->Data = MESA_PBUFFER_ALLOC(_w * _h * texelBytes); _mesa_rescale_teximage2d(texelBytes, + mml->width, _w * texelBytes, /* dst stride */ mml->width, mml->height, /* src */ _w, _h, /* dst */ |