mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 02:32:36 +01: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
|
||||
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.
|
||||
// This spec workaround allows it to be abused by ISVs to indicate a broken GL context.
|
||||
|
Loading…
Reference in New Issue
Block a user