i965: defined BRW_MAX_MRF
[mesa.git] / src / mesa / drivers / x11 / xm_buffer.c
index f104d44d051e75132c527f5102b92d2b7ee0958c..821e2a8e082e42198d0655836f2e080192865708 100644 (file)
@@ -30,7 +30,6 @@
 
 
 #include "glxheader.h"
-#include "GL/xmesa.h"
 #include "xmesaP.h"
 #include "main/imports.h"
 #include "main/framebuffer.h"
@@ -230,6 +229,7 @@ alloc_back_buffer(XMesaBuffer b, GLuint width, GLuint height)
       }
 
       b->backxrb->ximage = NULL;
+      b->backxrb->drawable = b->backxrb->pixmap;
    }
 }