From 5b37c322741f019118a618bc6220f37adba4fbcd Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 5 Nov 1999 06:43:10 +0000 Subject: clean-up to reduce MSVC warnings --- src/mesa/main/teximage.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/mesa/main/teximage.c') diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 2a732b178e9..599fbeede02 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -1,4 +1,4 @@ -/* $Id: teximage.c,v 1.9 1999/11/03 17:27:05 brianp Exp $ */ +/* $Id: teximage.c,v 1.10 1999/11/05 06:43:11 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -619,9 +619,9 @@ make_null_texture( GLcontext *ctx, GLenum internalFormat, GLint srcRow = 7 - i % 8; for (j=0;jTexture.Unit[ctx->Texture.CurrentUnit]; struct gl_texture_image *teximage; @@ -1760,7 +1760,7 @@ void gl_CopyTexSubImage1D( GLcontext *ctx, GLenum target, GLint level, ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx, "glCopyTexSubImage1D"); if (!copytexsubimage_error_check(ctx, 1, target, level, - xoffset, 0, 0, x, y, width, 1)) { + xoffset, 0, 0, width, 1)) { struct gl_texture_unit *texUnit; struct gl_texture_image *teximage; texUnit = &ctx->Texture.Unit[ctx->Texture.CurrentUnit]; @@ -1787,7 +1787,7 @@ void gl_CopyTexSubImage2D( GLcontext *ctx, GLenum target, GLint level, ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx, "glCopyTexSubImage2D"); if (!copytexsubimage_error_check(ctx, 2, target, level, - xoffset, yoffset, 0, x, y, width, height)) { + xoffset, yoffset, 0, width, height)) { struct gl_texture_unit *texUnit; struct gl_texture_image *teximage; texUnit = &ctx->Texture.Unit[ctx->Texture.CurrentUnit]; @@ -1815,7 +1815,7 @@ void gl_CopyTexSubImage3D( GLcontext *ctx, GLenum target, GLint level, ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx, "glCopyTexSubImage3D"); if (!copytexsubimage_error_check(ctx, 3, target, level, - xoffset, yoffset, zoffset, x, y, width, height)) { + xoffset, yoffset, zoffset, width, height)) { struct gl_texture_unit *texUnit; struct gl_texture_image *teximage; texUnit = &ctx->Texture.Unit[ctx->Texture.CurrentUnit]; -- cgit v1.2.3