Merge pull request #7839 from ShFil119/impr/redundant

Remove redundant initialization
This commit is contained in:
Léo Lam
2019-05-04 22:50:51 +02:00
committed by GitHub
17 changed files with 25 additions and 25 deletions

View File

@ -51,7 +51,7 @@ static int num_failures = 0;
static GLuint CurrentProgram = 0;
ProgramShaderCache::PipelineProgramMap ProgramShaderCache::s_pipeline_programs;
std::mutex ProgramShaderCache::s_pipeline_program_lock;
static std::string s_glsl_header = "";
static std::string s_glsl_header;
static std::atomic<u64> s_shader_counter{0};
static thread_local bool s_is_shared_context = false;
@ -663,7 +663,7 @@ void ProgramShaderCache::CreateHeader()
break;
}
std::string earlyz_string = "";
std::string earlyz_string;
if (g_ActiveConfig.backend_info.bSupportsEarlyZ)
{
if (g_ogl_config.bSupportsImageLoadStore)