Mesa/mesa-commit-06c72da.diff

21 lines
835 B
Diff

commit 06c72da97a1bce87bc4b3fb8e7e18bf966926acb
Author: Kristian Høgsberg <krh@bitplanet.net>
Date: Tue May 4 13:35:23 2010 -0400
intel: Update renderbuffers unconditionally in intelSetTexBuffer2()
diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c
index 9db96ac..a0e734b 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_image.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_image.c
@@ -728,8 +728,7 @@ intelSetTexBuffer2(__DRIcontext *pDRICtx, GLint target,
if (!intelObj)
return;
- if (dPriv->lastStamp != dPriv->dri2.stamp)
- intel_update_renderbuffers(pDRICtx, dPriv);
+ intel_update_renderbuffers(pDRICtx, dPriv);
rb = intel_get_renderbuffer(fb, BUFFER_FRONT_LEFT);
/* If the region isn't set, then intel_update_renderbuffers was unable