From: Brian Paul Date: Tue, 28 Feb 2012 14:51:01 +0000 (-0700) Subject: mesa: minor comment, whitespace fixes in teximage.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15357947226c5630bf546b0deec86f7e994de76a;p=mesa.git mesa: minor comment, whitespace fixes in teximage.c --- 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) {