From 15357947226c5630bf546b0deec86f7e994de76a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 28 Feb 2012 07:51:01 -0700 Subject: [PATCH] mesa: minor comment, whitespace fixes in teximage.c --- src/mesa/main/teximage.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 9b6c6c89640..5328ae29683 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -69,8 +69,6 @@ * * This is the format which is used during texture application (i.e. the * texture format and env mode determine the arithmetic used. - * - * XXX this could be static */ GLint _mesa_base_tex_format( struct gl_context *ctx, GLint internalFormat ) @@ -830,7 +828,7 @@ _mesa_get_proxy_tex_image(struct gl_context *ctx, GLenum target, GLint level) struct gl_texture_image *texImage; GLuint texIndex; - if (level < 0 ) + if (level < 0) return NULL; switch (target) { -- 2.30.2