mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
renderer/gles2: Compute texture coordinates based off of vertex positions
This commit is contained in:
parent
45b2a8eee2
commit
b1d26ed47b
3 changed files with 15 additions and 20 deletions
|
|
@ -25,10 +25,10 @@ struct wlr_gles2_pixel_format {
|
|||
struct wlr_gles2_tex_shader {
|
||||
GLuint program;
|
||||
GLint proj;
|
||||
GLint tex_proj;
|
||||
GLint tex;
|
||||
GLint alpha;
|
||||
GLint pos_attrib;
|
||||
GLint tex_attrib;
|
||||
};
|
||||
|
||||
struct wlr_gles2_renderer {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue