commit | 5a27f3e6a787be874e0415eda184b0ee01b95a39 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@redhat.com> | Sun Nov 02 10:55:25 2008 -0500 |
committer | Kristian Høgsberg <krh@redhat.com> | Thu Nov 06 10:52:14 2008 -0500 |
tree | ae0f75bfaec34126f928d00fd6843e147daeaac1 | |
parent | e120a4b1ee1ea7e153280340f4f68ce61fcedd5c [diff] [blame] |
Add a new client that draws a pointer.
diff --git a/egl-compositor.c b/egl-compositor.c index 6f501e1..3489215 100644 --- a/egl-compositor.c +++ b/egl-compositor.c
@@ -40,7 +40,7 @@ struct wl_surface *surface; struct surface_data *sd; GLint vertices[12]; - GLint tex_coords[8] = { 1, 0, 1, 1, 0, 0, 0, 1 }; + GLint tex_coords[12] = { 0, 0, 0, 1, 1, 0, 1, 1 }; GLuint indices[4] = { 0, 1, 2, 3 }; /* This part is where we actually copy the buffer to screen.