intel: Update renderbuffers unconditionally in intelSetTexBuffer2()
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 4 May 2010 17:35:23 +0000 (13:35 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 4 May 2010 17:35:51 +0000 (13:35 -0400)
src/mesa/drivers/dri/intel/intel_tex_image.c

index 9db96acdc08d55bfb27e5db5c6f827618182c537..a0e734b2ec626873e9e6f7136961c074aa2ea0b2 100644 (file)
@@ -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