aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-05-04 13:35:23 -0400
committerKristian Høgsberg <[email protected]>2010-05-04 13:35:51 -0400
commit06c72da97a1bce87bc4b3fb8e7e18bf966926acb (patch)
tree08232dcb1c61deead10a8e31bc3f342c2f58c13d /src/mesa
parent2b53f4a9c674e9b02df8a06759e7a2340f257081 (diff)
intel: Update renderbuffers unconditionally in intelSetTexBuffer2()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_image.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c
index 9db96acdc08..a0e734b2ec6 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