mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-10 21:00:06 +00:00
fix include/namespace related compilation errors (#7019)
a user on discord reported compilation errors when trying to compile on Linux with GCC 13 and Clang 16.
This commit is contained in:
parent
6cfb8e02a8
commit
a35f8cbb78
5 changed files with 9 additions and 1 deletions
|
@ -344,7 +344,7 @@ void OpenGLState::Apply() const {
|
|||
|
||||
// Clip distance
|
||||
if (!GLES || GLAD_GL_EXT_clip_cull_distance) {
|
||||
for (size_t i = 0; i < clip_distance.size(); ++i) {
|
||||
for (std::size_t i = 0; i < clip_distance.size(); ++i) {
|
||||
if (clip_distance[i] != cur_state.clip_distance[i]) {
|
||||
if (clip_distance[i]) {
|
||||
glEnable(GL_CLIP_DISTANCE0 + static_cast<GLenum>(i));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue