mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-07 22:16:00 +01:00
Merge pull request #782 from orestisf1993/fix-build
Fix build error with -O2
This commit is contained in:
commit
c4666918fa
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue