diff options
author | Simon Ser <contact@emersion.fr> | 2023-02-02 22:42:42 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-02-02 22:42:42 +0100 |
commit | 0534d12b28248cf149a829b122a8c3d1b22b0003 (patch) | |
tree | ec0d538123145ee778c86a1e6122db4f5dcfa333 /render/gles2 | |
parent | cfa7696d7bd6b7b23d73922ad48631b1b0df6e02 (diff) |
render/gles2: use correct type for shader type
Doesn't matter a lot, but let's try to be consistent with the
GL headers.
Diffstat (limited to 'render/gles2')
-rw-r--r-- | render/gles2/renderer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c index 47c58b19..6a86b183 100644 --- a/render/gles2/renderer.c +++ b/render/gles2/renderer.c @@ -610,7 +610,7 @@ static void gles2_log(GLenum src, GLenum type, GLuint id, GLenum severity, } static GLuint compile_shader(struct wlr_gles2_renderer *renderer, - GLuint type, const GLchar *src) { + GLenum type, const GLchar *src) { push_gles2_debug(renderer); GLuint shader = glCreateShader(type); |