renderer/gles2: Compute texture coordinates based off of vertex positions

This commit is contained in:
Alexander Orzechowski 2023-05-23 02:16:29 -04:00
parent 45b2a8eee2
commit b1d26ed47b
3 changed files with 15 additions and 20 deletions

View file

@ -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 {