ogl: init ProgramShaderCache::s_ubo_align to 1.

silences a warning that it may cause div-by-zero.
This commit is contained in:
Shawn Hoffman 2020-08-27 13:00:36 -07:00
parent 8068ff92bf
commit 4db06bf85b
1 changed files with 1 additions and 1 deletions

View File

@ -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;