i915: intel_flush_frontbuffer does work
authorJakob Bornecrantz <jakob@aurora.(none)>
Wed, 23 Jul 2008 12:02:33 +0000 (14:02 +0200)
committerJakob Bornecrantz <jakob@tungstengraphics.com>
Wed, 23 Jul 2008 12:07:26 +0000 (14:07 +0200)
src/gallium/winsys/dri/intel/intel_screen.c

index f2412217f36788fffb4cac8c7f5141505d95eb0c..b3022fd17a9db729f2c9090fa38eeb28afe22e2b 100644 (file)
@@ -253,12 +253,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