mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 07:58:07 +02:00
intel: fix comment, formatting
This commit is contained in:
parent
3bee7610be
commit
33531614de
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue