From: Kristian Høgsberg Date: Tue, 4 May 2010 17:35:23 +0000 (-0400) Subject: intel: Update renderbuffers unconditionally in intelSetTexBuffer2() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06c72da97a1bce87bc4b3fb8e7e18bf966926acb;p=mesa.git 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 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