mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 06:51:26 +12:00
gl: Fix check_state compilation error
This commit is contained in:
parent
1299aa68b3
commit
a79ef1efb2
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ namespace gl
|
||||||
}
|
}
|
||||||
|
|
||||||
// Checks if GL state is still valid
|
// Checks if GL state is still valid
|
||||||
void check_state()
|
static inline void check_state()
|
||||||
{
|
{
|
||||||
// GL_OUT_OF_MEMORY invalidates the OpenGL context and is actually the GL version of DEVICE_LOST.
|
// GL_OUT_OF_MEMORY invalidates the OpenGL context and is actually the GL version of DEVICE_LOST.
|
||||||
// This spec workaround allows it to be abused by ISVs to indicate a broken GL context.
|
// This spec workaround allows it to be abused by ISVs to indicate a broken GL context.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue