Skip to content

Commit

Permalink
Add a different assert to SetGLCoreContext.
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Jun 3, 2023
1 parent 3b559cf commit 27b8d27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Common/GPU/OpenGL/GLFeatures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,8 @@ void SetGLCoreContext(bool flag) {
useCoreContext = flag;
// For convenience, it'll get reset later.
gl_extensions.IsCoreContext = useCoreContext;
} else {
_assert_(flag == useCoreContext);
}
}

Expand Down

0 comments on commit 27b8d27

Please sign in to comment.