diff --git a/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp b/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp index a738a98fa2..ec976676c4 100644 --- a/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp +++ b/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp @@ -38,7 +38,7 @@ namespace OGL { u32 ProgramShaderCache::s_ubo_buffer_size; -s32 ProgramShaderCache::s_ubo_align; +s32 ProgramShaderCache::s_ubo_align = 1; GLuint ProgramShaderCache::s_attributeless_VBO = 0; GLuint ProgramShaderCache::s_attributeless_VAO = 0; GLuint ProgramShaderCache::s_last_VAO = 0;