Skip to content

Commit f4bef97

Browse files
committed
fix namespace error which breaks OpenGL33 on Linux
1 parent 83a51ee commit f4bef97

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

olcPixelGameEngine.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,8 +1358,9 @@ namespace olc
13581358
#endif
13591359

13601360
#if defined(OLC_PLATFORM_X11)
1361-
namespace X11
1362-
{#include <GL/glx.h>}
1361+
namespace X11 {
1362+
#include <GL/glx.h>
1363+
}
13631364
#define CALLSTYLE
13641365
#endif
13651366

0 commit comments

Comments
 (0)