[PATCH] compositor-drm: Fix compilation error caused by typo.
Ander Conselvan de Oliveira
ander.conselvan.de.oliveira at intel.com
Wed Aug 17 04:50:17 PDT 2011
---
Ops. I wrote the previous patch in one machine and tested in other
and ended up forgetting to fix this typo.
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
More information about the wayland-devel
mailing list