mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
ogl: init ProgramShaderCache::s_ubo_align to 1.
silences a warning that it may cause div-by-zero.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user