mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-09 14:08:58 +01:00
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
|
namespace OGL
|
||||||
{
|
{
|
||||||
u32 ProgramShaderCache::s_ubo_buffer_size;
|
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_VBO = 0;
|
||||||
GLuint ProgramShaderCache::s_attributeless_VAO = 0;
|
GLuint ProgramShaderCache::s_attributeless_VAO = 0;
|
||||||
GLuint ProgramShaderCache::s_last_VAO = 0;
|
GLuint ProgramShaderCache::s_last_VAO = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user