mirror of https://github.com/snes9xgit/snes9x.git
Delete contents after use.
This commit is contained in:
parent
09ea2d0e67
commit
df19fc3f11
|
@ -405,6 +405,8 @@ bool GLSLShader::load_shader (char *filename)
|
|||
return false;
|
||||
}
|
||||
|
||||
delete[] contents;
|
||||
|
||||
p->program = glCreateProgram ();
|
||||
|
||||
glAttachShader (p->program, vertex_shader);
|
||||
|
|
Loading…
Reference in New Issue