mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
mark all local variables as static
This commit is contained in:
@ -1574,10 +1574,10 @@ const GLFunc gl_function_array[] =
|
||||
namespace GLExtensions
|
||||
{
|
||||
// Private members and functions
|
||||
bool _isES3;
|
||||
bool _isES;
|
||||
u32 _GLVersion;
|
||||
std::unordered_map<std::string, bool> m_extension_list;
|
||||
static bool _isES3;
|
||||
static bool _isES;
|
||||
static u32 _GLVersion;
|
||||
static std::unordered_map<std::string, bool> m_extension_list;
|
||||
|
||||
// Private initialization functions
|
||||
bool InitFunctionPointers();
|
||||
|
@ -29,7 +29,7 @@ s32 ProgramShaderCache::s_ubo_align;
|
||||
static StreamBuffer *s_buffer;
|
||||
static int num_failures = 0;
|
||||
|
||||
LinearDiskCache<SHADERUID, u8> g_program_disk_cache;
|
||||
static LinearDiskCache<SHADERUID, u8> g_program_disk_cache;
|
||||
static GLuint CurrentProgram = 0;
|
||||
ProgramShaderCache::PCache ProgramShaderCache::pshaders;
|
||||
ProgramShaderCache::PCacheEntry* ProgramShaderCache::last_entry;
|
||||
|
@ -67,7 +67,7 @@ void VideoConfig::UpdateProjectionHack()
|
||||
::UpdateProjectionHack(g_Config.iPhackvalue, g_Config.sPhackvalue);
|
||||
}
|
||||
|
||||
int OSDInternalW, OSDInternalH;
|
||||
static int OSDInternalW, OSDInternalH;
|
||||
|
||||
namespace OGL
|
||||
{
|
||||
|
Reference in New Issue
Block a user