gl: Refactor shader type usage

Use Common/GLSLTypes.h program_domain instead of duplicated own internal
type
This commit is contained in:
AniLeo 2020-05-16 07:31:25 +01:00 committed by Ani
parent 3db2f23e02
commit b0d3c4d75e
9 changed files with 49 additions and 33 deletions

View file

@ -366,7 +366,7 @@ void GLFragmentProgram::Decompile(const RSXFragmentProgram& prog)
}
}
shader.create(gl::glsl::shader::type::fragment, source);
shader.create(::glsl::program_domain::glsl_fragment_program, source);
}
void GLFragmentProgram::Compile()