[Mesa-dev] [PATCH 5/8] egl/wayland: Remove confusing comment about front buffer rendering
Ian Romanick
idr at freedesktop.org
Fri Dec 14 16:57:07 PST 2012
On 12/13/2012 09:05 PM, Kristian Høgsberg wrote:
At least the way I build, this will cause unused parameter warnings.
> ---
> 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