[Mesa-dev] [PATCH 5/8] egl/wayland: Remove confusing comment about front buffer rendering

Kristian Høgsberg hoegsberg at gmail.com
Fri Dec 14 17:52:02 PST 2012


On Fri, Dec 14, 2012 at 04:57:07PM -0800, Ian Romanick wrote:
> On 12/13/2012 09:05 PM, Kristian Høgsberg wrote:
> 
> At least the way I build, this will cause unused parameter warnings.

Oh, right, I'll add the (void) driDrawable back in.

Kristian

> >---
> >  src/egl/drivers/dri2/platform_wayland.c |   12 ------------
> >  1 file changed, 12 deletions(-)
> >
> >diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c
> >index ba54286..260a80d 100644
> >--- a/src/egl/drivers/dri2/platform_wayland.c
> >+++ b/src/egl/drivers/dri2/platform_wayland.c
> >@@ -515,21 +515,9 @@ dri2_get_buffers(__DRIdrawable * driDrawable,
> >     return buffer;
> >  }
> >
> >-
> >  static void
> >  dri2_flush_front_buffer(__DRIdrawable * driDrawable, void *loaderPrivate)
> >  {
> >-   (void) driDrawable;
> >-
> >-   /* FIXME: Does EGL support front buffer rendering at all? */
> >-
> >-#if 0
> >-   struct dri2_egl_surface *dri2_surf = loaderPrivate;
> >-
> >-   dri2WaitGL(dri2_surf);
> >-#else
> >-   (void) loaderPrivate;
> >-#endif
> >  }
> >
> >  static void
> >
> 


More information about the mesa-dev mailing list