aboutsummaryrefslogtreecommitdiff
path: root/render/gles2
diff options
context:
space:
mode:
Diffstat (limited to 'render/gles2')
-rw-r--r--render/gles2/renderer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c
index f96f468b..8f3ce7f7 100644
--- a/render/gles2/renderer.c
+++ b/render/gles2/renderer.c
@@ -111,8 +111,8 @@ static bool gles2_render_texture_with_matrix(struct wlr_renderer *wlr_renderer,
struct wlr_gles2_texture *texture =
gles2_get_texture_in_context(wlr_texture);
- GLuint prog;
- GLenum target;
+ GLuint prog = 0;
+ GLenum target = 0;
switch (texture->type) {
case WLR_GLES2_TEXTURE_GLTEX:
case WLR_GLES2_TEXTURE_WL_DRM_GL: