mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 06:39:33 +00:00
Add in the Windows fix.
This commit is contained in:
parent
ee529b7125
commit
c4e7a288e5
1 changed files with 2 additions and 1 deletions
|
@ -212,9 +212,10 @@ namespace OGL
|
||||||
GLint Supported;
|
GLint Supported;
|
||||||
glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &Supported);
|
glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &Supported);
|
||||||
|
|
||||||
GLint Formats[Supported];
|
GLint *Formats = new GLint[Supported];
|
||||||
glGetIntegerv(GL_PROGRAM_BINARY_FORMATS, Formats);
|
glGetIntegerv(GL_PROGRAM_BINARY_FORMATS, Formats);
|
||||||
ProgramFormat = (GLenum)Formats[0]; // We don't really care about format
|
ProgramFormat = (GLenum)Formats[0]; // We don't really care about format
|
||||||
|
delete[] Formats;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue