ogl: init ProgramShaderCache::s_ubo_align to 1.
silences a warning that it may cause div-by-zero.
This commit is contained in:
parent
8068ff92bf
commit
4db06bf85b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue