mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
OGL: Fix binding error on shutdown
This was occurring if the imgui vertex format was bound on shutdown, which is destroyed before the vertex buffers
This commit is contained in:
@ -72,6 +72,7 @@ public:
|
||||
static void BindVertexFormat(const GLVertexFormat* vertex_format);
|
||||
static bool IsValidVertexFormatBound();
|
||||
static void InvalidateVertexFormat();
|
||||
static void InvalidateVertexFormatIfBound(GLuint vao);
|
||||
static void InvalidateLastProgram();
|
||||
|
||||
static bool CompileComputeShader(SHADER& shader, const std::string& code);
|
||||
|
Reference in New Issue
Block a user