[PATCH] compositor-drm: Fix compilation error caused by typo.

Kristian Høgsberg krh at bitplanet.net
Wed Aug 17 05:56:58 PDT 2011


On Wed, Aug 17, 2011 at 7:50 AM, Ander Conselvan de Oliveira
<ander.conselvan.de.oliveira at intel.com> wrote:
> ---
> Ops. I wrote the previous patch in one machine and tested in other
> and ended up forgetting to fix this typo.

Sorry for letting that slip through.  I saw the warning after pushing
the commit, I thought that you just forgot the GLES2 include file.

Kristian

>  compositor/compositor-drm.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/compositor/compositor-drm.c b/compositor/compositor-drm.c
> index 2705288..536760b 100644
> --- a/compositor/compositor-drm.c
> +++ b/compositor/compositor-drm.c
> @@ -709,7 +709,7 @@ drm_compositor_create_cursor_image(struct wlsc_compositor *ec,
>                glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
>
>                c->base.image_target_texture_2d(GL_TEXTURE_2D, image);
> -               glTexSubImage(GL_TEXTURE_2D, 0, 0, 0, 64, 64,
> +               glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 64, 64,
>                                GL_BGRA_EXT, GL_UNSIGNED_BYTE, pixels);
>
>                glDeleteTextures(1, &tex);
> --
> 1.7.4.1
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>


More information about the wayland-devel mailing list