Remove redundant initialization

This commit is contained in:
Filip Gawin 2019-03-02 19:42:25 +01:00
parent 8e1fb126d7
commit c110ffcdaa
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;
@ -684,7 +684,7 @@ void ProgramShaderCache::CreateHeader()
break;
}
std::string earlyz_string = "";
std::string earlyz_string;
if (g_ActiveConfig.backend_info.bSupportsEarlyZ)
{
if (g_ogl_config.bSupportsImageLoadStore)