intel: fix comment, formatting
authorBrian Paul <brianp@vmware.com>
Mon, 26 Oct 2009 23:00:48 +0000 (17:00 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 27 Oct 2009 23:00:31 +0000 (17:00 -0600)
src/mesa/drivers/dri/intel/intel_buffers.c

index e7357e78c539256da3c2816f4b0efb98e0bebd07..a36438b5e89212dbffc08b07cb2cb1a86e73e000 100644 (file)
@@ -192,7 +192,7 @@ intel_draw_buffer(GLcontext * ctx, struct gl_framebuffer *fb)
    }
    else {
       /* Get the intel_renderbuffer for the single colorbuffer we're drawing
-       * into, and set up cliprects if it's .
+       * into, and set up cliprects if it's a DRI1 window front buffer.
        */
       if (fb->Name == 0) {
         intel->constant_cliprect = intel->driScreen->dri2.enabled;
@@ -209,7 +209,7 @@ intel_draw_buffer(GLcontext * ctx, struct gl_framebuffer *fb)
            if (!intel->constant_cliprect && intel->front_cliprects)
               intel_batchbuffer_flush(intel->batch);
            intel->front_cliprects = GL_FALSE;
-           colorRegions[0]= intel_get_rb_region(fb, BUFFER_BACK_LEFT);
+           colorRegions[0] = intel_get_rb_region(fb, BUFFER_BACK_LEFT);
         }
       }
       else {