OSDN Git Service

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 a0cb147..6f94e64 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