mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-07 03:40:07 +00:00
gl: Fix check_state compilation error
This commit is contained in:
parent
1299aa68b3
commit
a79ef1efb2
@ -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…
x
Reference in New Issue
Block a user