#include "r200_state.h"
#include "radeon_ioctl.h"
#include "radeon_state.h"
+#include "r300_context.h"
#include "framebuffer.h"
static void r300RegainedLock(radeonContextPtr radeon)
{
__DRIdrawablePrivate *dPriv = radeon->dri.drawable;
+ int i;
+ r300ContextPtr r300 = (r300ContextPtr)radeon;
if (radeon->lastStamp != dPriv->lastStamp) {
_mesa_resize_framebuffer(radeon->glCtx,
radeon->lastStamp = dPriv->lastStamp;
}
-#if R200_MERGED
- for (i = 0; i < r200->nr_heaps; i++) {
- DRI_AGE_TEXTURES(r200->texture_heaps[i]);
+ for (i = 0; i < r300->nr_heaps; i++) {
+ DRI_AGE_TEXTURES(r300->texture_heaps[i]);
}
-#endif
}
/* Update the hardware state. This is called if another context has