Fix -Werror=maybe-uninitialized in GLES2 on release builds

Issue introduced in #28796.
This commit is contained in:
Rémi Verschelde 2019-05-29 16:40:06 +02:00
parent b374a9ff69
commit c2e2bcbca9
1 changed files with 2 additions and 1 deletions

View File

@ -2695,7 +2695,8 @@ void RasterizerSceneGLES2::render_scene(const Transform &p_cam_transform, const
Environment *env = NULL;
int viewport_width, viewport_height;
int viewport_x, viewport_y;
int viewport_x = 0;
int viewport_y = 0;
bool probe_interior = false;
bool reverse_cull = false;