aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-05-23 02:16:29 -0400
committerAlexander Orzechowski <alex@ozal.ski>2023-05-28 14:53:34 -0400
commitb1d26ed47bfd3725100bde10c20b6ee9b1045e65 (patch)
tree486826a4d1cc8410052cb9abd6eff2c1e48cde4a /include/render
parent45b2a8eee2f1ee30bd021cba7e918c758b8f4cea (diff)
renderer/gles2: Compute texture coordinates based off of vertex positions
Diffstat (limited to 'include/render')
-rw-r--r--include/render/gles2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/render/gles2.h b/include/render/gles2.h
index f54fc835..e4befc88 100644
--- a/include/render/gles2.h
+++ b/include/render/gles2.h
@@ -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 {