mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 23:30:10 +01:00
intel: better front color buffer test in intelClear()
This commit is contained in:
parent
8395da2e8a
commit
3105f3aa88
1 changed files with 3 additions and 2 deletions
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
#include "intel_context.h"
|
||||
#include "intel_blit.h"
|
||||
#include "intel_buffers.h"
|
||||
#include "intel_chipset.h"
|
||||
#include "intel_clear.h"
|
||||
#include "intel_fbo.h"
|
||||
|
|
@ -76,7 +75,9 @@ intelClear(GLcontext *ctx, GLbitfield mask)
|
|||
struct gl_framebuffer *fb = ctx->DrawBuffer;
|
||||
GLuint i;
|
||||
|
||||
intel_check_front_buffer_rendering(intel);
|
||||
if (mask & (BUFFER_BIT_FRONT_LEFT | BUFFER_BIT_FRONT_RIGHT)) {
|
||||
intel->front_buffer_dirty = GL_TRUE;
|
||||
}
|
||||
|
||||
if (0)
|
||||
fprintf(stderr, "%s\n", __FUNCTION__);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue