mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 12:05:23 +00:00
format fix
This commit is contained in:
parent
b81e0f9e4c
commit
06907cb942
1 changed files with 4 additions and 1 deletions
|
@ -670,7 +670,10 @@ void GLShaderProgram::DecompileAsync(RSXShaderProgram& prog)
|
|||
|
||||
void GLShaderProgram::Compile()
|
||||
{
|
||||
if (m_id) glDeleteShader(m_id);
|
||||
if (m_id)
|
||||
{
|
||||
glDeleteShader(m_id);
|
||||
}
|
||||
|
||||
m_id = glCreateShader(GL_FRAGMENT_SHADER);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue