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

@ -270,7 +270,7 @@ void GLVertexProgram::Decompile(const RSXVertexProgram& prog)
GLVertexDecompilerThread decompiler(prog, source, parr);
decompiler.Task();
shader.create(gl::glsl::shader::type::vertex, source);
shader.create(::glsl::program_domain::glsl_vertex_program, source);
}
void GLVertexProgram::Compile()