diff options
| author | Pokechu22 <pokechu022@gmail.com> | 2022-11-28 20:18:17 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-28 20:18:17 -0800 |
| commit | 421af09b1eda251c56027a52d4263536826db98b (patch) | |
| tree | 11ddd54fec93582e56abae1eaa079c95a375fcc5 /Source/Core/VideoBackends/OGL/ProgramShaderCache.h | |
| parent | 44f8b8c1007f2ead8530d53c4aca3df8fee6d6af (diff) | |
| parent | e3cc42069f00911933f1c246873c017987690921 (diff) | |
Merge pull request #11279 from tellowkrinkle/GlobalStateIsGreat
VideoBackends:OGL: Creating vertex formats shouldn't unbind anything
Diffstat (limited to 'Source/Core/VideoBackends/OGL/ProgramShaderCache.h')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/ProgramShaderCache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/OGL/ProgramShaderCache.h b/Source/Core/VideoBackends/OGL/ProgramShaderCache.h index 9e198987b8..0d19abb490 100644 --- a/Source/Core/VideoBackends/OGL/ProgramShaderCache.h +++ b/Source/Core/VideoBackends/OGL/ProgramShaderCache.h @@ -69,6 +69,7 @@ class ProgramShaderCache { public: static void BindVertexFormat(const GLVertexFormat* vertex_format); + static void ReBindVertexFormat(); static bool IsValidVertexFormatBound(); static void InvalidateVertexFormat(); static void InvalidateVertexFormatIfBound(GLuint vao); |
