mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-28 06:32:29 +00:00
- fixed incorrect function call in shader compiler.
This commit is contained in:
parent
b3e0d93385
commit
09a68e8c93
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ bool FShader::Load(const char * name, const char * vert_prog_lump, const char *
|
|||
error << "Linking:\n" << buffer << "\n";
|
||||
}
|
||||
int linked;
|
||||
glGetShaderiv(hShader, GL_LINK_STATUS, &linked);
|
||||
glGetProgramiv(hShader, GL_LINK_STATUS, &linked);
|
||||
if (linked == 0)
|
||||
{
|
||||
// only print message if there's an error.
|
||||
|
|
Loading…
Reference in a new issue