mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
gl: Refactor shader type usage
Use Common/GLSLTypes.h program_domain instead of duplicated own internal type
This commit is contained in:
parent
3db2f23e02
commit
b0d3c4d75e
9 changed files with 49 additions and 33 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue