diff options
author | Li Peng <[email protected]> | 2010-04-08 13:52:55 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-04-08 13:52:55 -0400 |
commit | 9599da33742b727ba714618d2d14c0486e0408f6 (patch) | |
tree | b37cc7bac6390ffbfc87f50517d1dd936682e3c0 /src/mesa/drivers/dri/intel/intel_blit.c | |
parent | 074084d5639dc0eba93d3497a5618e018b8b7433 (diff) |
intel: Call intel_prepare_render() in intelClear()
Make sure we have up to date buffers before we start looking at
the tiling bits to determine how to clear.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_blit.c')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_blit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_blit.c b/src/mesa/drivers/dri/intel/intel_blit.c index 167140d274a..7d9f302dca6 100644 --- a/src/mesa/drivers/dri/intel/intel_blit.c +++ b/src/mesa/drivers/dri/intel/intel_blit.c @@ -233,8 +233,6 @@ intelClearWithBlit(GLcontext *ctx, GLbitfield mask) GLuint buf; all = (cw == fb->Width && ch == fb->Height); - intel_prepare_render(intel); - /* Loop over all renderbuffers */ for (buf = 0; buf < BUFFER_COUNT && mask; buf++) { const GLbitfield bufBit = 1 << buf; |