#include "extension_helper.h"
-#define DRIVER_DATE "20060929"
+#define DRIVER_DATE "20061102"
_glthread_Mutex lockMutex;
static GLboolean lockMutexInit = GL_FALSE;
}
}
+ /* set initial GLframebuffer size to match window, if needed */
+ if (drawFb->Width == 0 && driDrawPriv->w) {
+ _mesa_resize_framebuffer(&intel->ctx, drawFb,
+ driDrawPriv->w, driDrawPriv->h);
+ }
+ if (readFb->Width == 0 && driReadPriv->w) {
+ _mesa_resize_framebuffer(&intel->ctx, readFb,
+ driReadPriv->w, driReadPriv->h);
+ }
+
_mesa_make_current(&intel->ctx, drawFb, readFb);
/* The drawbuffer won't always be updated by _mesa_make_current:
}
-extern _glthread_Mutex lockMutex;
-
-
/* Lock the hardware and validate our state.
*/
void LOCK_HARDWARE( struct intel_context *intel )