mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07: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