minor clean-up
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 29 Mar 2006 18:41:19 +0000 (18:41 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 29 Mar 2006 18:41:19 +0000 (18:41 +0000)
src/mesa/main/buffers.c
src/mesa/main/buffers.h
src/mesa/main/context.c

index 25f1236..0d5d838 100644 (file)
@@ -675,8 +675,9 @@ _mesa_SampleCoverageARB(GLclampf value, GLboolean invert)
  * change flushes the vertices and notifies the driver via
  * the dd_function_table::Scissor callback.
  */
-void _mesa_set_scissor( GLcontext *ctx, 
-                       GLint x, GLint y, GLsizei width, GLsizei height )
+void
+_mesa_set_scissor(GLcontext *ctx, 
+                  GLint x, GLint y, GLsizei width, GLsizei height)
 {
    if (x == ctx->Scissor.X &&
        y == ctx->Scissor.Y &&
index 547fb28..77e9f81 100644 (file)
@@ -74,8 +74,8 @@ _mesa_init_scissor(GLcontext *ctx);
 extern void 
 _mesa_init_multisample(GLcontext *ctx);
 
-extern void _mesa_set_scissor( GLcontext *ctx, 
-                              GLint x, GLint y, GLsizei width, GLsizei height );
-
+extern void
+_mesa_set_scissor(GLcontext *ctx, 
+                  GLint x, GLint y, GLsizei width, GLsizei height);
 
 #endif
index bbefc32..92dcdfd 100644 (file)
@@ -1640,10 +1640,8 @@ _mesa_make_current( GLcontext *newCtx, GLframebuffer *drawBuffer,
             /* set initial viewport and scissor size now */
             _mesa_set_viewport(newCtx, 0, 0,
                                drawBuffer->Width, drawBuffer->Height);
-
-           _mesa_set_scissor(newCtx, 0, 0, 
-                             drawBuffer->Width,
-                             drawBuffer->Height );
+           _mesa_set_scissor(newCtx, 0, 0,
+                             drawBuffer->Width, drawBuffer->Height );
          }
       }