i915simple: Front flushing does work
authorJakob Bornecrantz <jakob@tungstengraphics.com>
Fri, 19 Sep 2008 12:46:24 +0000 (14:46 +0200)
committerJakob Bornecrantz <jakob@tungstengraphics.com>
Fri, 19 Sep 2008 12:46:24 +0000 (14:46 +0200)
src/gallium/winsys/drm/intel/dri/intel_screen.c

index a0cb1472a99cd64b6415f9db41adba25bf7558b8..6f94e642c108e2e6b4ddde72824386a4a729e4d9 100644 (file)
@@ -365,12 +365,10 @@ intel_flush_frontbuffer( struct pipe_winsys *winsys,
                          struct pipe_surface *surf,
                          void *context_private)
 {
-   //struct intel_context *intel = (struct intel_context *) context_private;
-   //__DRIdrawablePrivate *dPriv = intel->driDrawable;
+   struct intel_context *intel = (struct intel_context *) context_private;
+   __DRIdrawablePrivate *dPriv = intel->driDrawable;
 
-   //assert((int)"Doesn't work currently" & 0);
-
-   //intelDisplaySurface(dPriv, surf, NULL);
+   intelDisplaySurface(dPriv, surf, NULL);
 }
 
 static boolean