gl: Fix check_state compilation error

This commit is contained in:
kd-11 2024-10-22 03:47:40 +03:00 committed by kd-11
parent 1299aa68b3
commit a79ef1efb2

View File

@ -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.