GLES2: Fix uninitialized members in ShaderGLES2::Version

Fixes #34109.
This commit is contained in:
Rémi Verschelde 2019-12-05 09:15:31 +01:00
parent 129a22cd90
commit fbfd56c247

View file

@ -118,10 +118,12 @@ private:
uint32_t code_version;
bool ok;
Version() {
code_version = 0;
id = 0;
vert_id = 0;
frag_id = 0;
ok = false;
uniform_location = NULL;
code_version = 0;
ok = false;
}
};