Merge pull request #7839 from ShFil119/impr/redundant

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

No files matched your search

@@ -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)