mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-08 13:29:47 -05:00
Add a new client that draws a pointer.
This commit is contained in:
parent
e120a4b1ee
commit
5a27f3e6a7
5 changed files with 195 additions and 8 deletions
|
|
@ -40,7 +40,7 @@ repaint(void *data)
|
|||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue