diff options
author | Brian Paul <[email protected]> | 2010-01-25 14:46:17 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-25 14:46:17 -0700 |
commit | 9b22427911ad27efc1f36faee9462c6082d0417c (patch) | |
tree | 12e5a6c336e4ca2a71b754120dfcc183f09ae58c /src/mesa/main | |
parent | 7e7f8815fbfa21ab2397e673fa19c36603bc7a51 (diff) | |
parent | 6749310d3f60df70ad8f82db986871ab9496793b (diff) |
Merge branch 'mesa_7_7_branch'
Conflicts:
src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/drivers/dri/intel/intel_swapbuffers.c
src/mesa/drivers/dri/r300/r300_emit.c
src/mesa/drivers/dri/r300/r300_ioctl.c
src/mesa/drivers/dri/r300/r300_tex.c
src/mesa/drivers/dri/r300/r300_texstate.c
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/scissor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/scissor.c b/src/mesa/main/scissor.c index b5f4cde7898..523f3c3ab83 100644 --- a/src/mesa/main/scissor.c +++ b/src/mesa/main/scissor.c @@ -37,14 +37,14 @@ _mesa_Scissor( GLint x, GLint y, GLsizei width, GLsizei height ) GET_CURRENT_CONTEXT(ctx); ASSERT_OUTSIDE_BEGIN_END(ctx); + if (MESA_VERBOSE & VERBOSE_API) + _mesa_debug(ctx, "glScissor %d %d %d %d\n", x, y, width, height); + if (width < 0 || height < 0) { _mesa_error( ctx, GL_INVALID_VALUE, "glScissor" ); return; } - if (MESA_VERBOSE & VERBOSE_API) - _mesa_debug(ctx, "glScissor %d %d %d %d\n", x, y, width, height); - _mesa_set_scissor(ctx, x, y, width, height); } |