mesa: minor whitespace fixes
This commit is contained in:
@@ -494,7 +494,7 @@ _mesa_PassTexCoordATI(GLuint dst, GLuint coord, GLenum swizzle)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
curProg->regsAssigned[curProg->cur_pass >> 1] |= 1 << (dst - GL_REG_0_ATI);
|
curProg->regsAssigned[curProg->cur_pass >> 1] |= 1 << (dst - GL_REG_0_ATI);
|
||||||
new_tex_inst(curProg);
|
new_tex_inst(curProg);
|
||||||
|
|
||||||
/* add the instructions */
|
/* add the instructions */
|
||||||
@@ -567,7 +567,7 @@ _mesa_SampleMapATI(GLuint dst, GLuint interp, GLenum swizzle)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
curProg->regsAssigned[curProg->cur_pass >> 1] |= 1 << (dst - GL_REG_0_ATI);
|
curProg->regsAssigned[curProg->cur_pass >> 1] |= 1 << (dst - GL_REG_0_ATI);
|
||||||
new_tex_inst(curProg);
|
new_tex_inst(curProg);
|
||||||
|
|
||||||
/* add the instructions */
|
/* add the instructions */
|
||||||
|
@@ -188,7 +188,7 @@ _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height,
|
|||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ctx->Current.RasterPosValid || width ==0 || height == 0) {
|
if (!ctx->Current.RasterPosValid || width == 0 || height == 0) {
|
||||||
goto end; /* no-op, not an error */
|
goto end; /* no-op, not an error */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -753,7 +753,7 @@ _mesa_extension_is_enabled( struct gl_context *ctx, const char *name )
|
|||||||
static char *
|
static char *
|
||||||
get_extension_override( struct gl_context *ctx )
|
get_extension_override( struct gl_context *ctx )
|
||||||
{
|
{
|
||||||
const char *env_const= _mesa_getenv("MESA_EXTENSION_OVERRIDE");
|
const char *env_const = _mesa_getenv("MESA_EXTENSION_OVERRIDE");
|
||||||
char *env;
|
char *env;
|
||||||
char *ext;
|
char *ext;
|
||||||
char *extra_exts;
|
char *extra_exts;
|
||||||
@@ -794,7 +794,7 @@ get_extension_override( struct gl_context *ctx )
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Remove trailing space. */
|
/* Remove trailing space. */
|
||||||
len = strlen(extra_exts);
|
len = strlen(extra_exts);
|
||||||
if (extra_exts[len - 1] == ' ')
|
if (extra_exts[len - 1] == ' ')
|
||||||
extra_exts[len - 1] = '\0';
|
extra_exts[len - 1] = '\0';
|
||||||
|
|
||||||
|
@@ -81,8 +81,8 @@ _mesa_validate_pbo_access(GLuint dimensions,
|
|||||||
format, type, 0, 0, 0);
|
format, type, 0, 0, 0);
|
||||||
|
|
||||||
/* get address just past the last pixel we'll read */
|
/* get address just past the last pixel we'll read */
|
||||||
end = _mesa_image_address(dimensions, pack, ptr, width, height,
|
end = _mesa_image_address(dimensions, pack, ptr, width, height,
|
||||||
format, type, depth-1, height-1, width);
|
format, type, depth-1, height-1, width);
|
||||||
|
|
||||||
|
|
||||||
sizeAddr = ((const GLubyte *) 0) + pack->BufferObj->Size;
|
sizeAddr = ((const GLubyte *) 0) + pack->BufferObj->Size;
|
||||||
|
Reference in New Issue
Block a user