mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-12 04:22:15 +00:00
mark all local variables as static
This commit is contained in:
parent
9560ecdbec
commit
6d3f249dcc
64 changed files with 283 additions and 266 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue