GUI fix for osx.

This commit is contained in:
Relintai 2024-09-14 13:54:17 +02:00
parent 97aa025aaf
commit 32820bd428

View File

@ -77,8 +77,7 @@ void GUI::initialize() {
// Decide GL+GLSL versions // Decide GL+GLSL versions
#if defined(__APPLE__) #if defined(__APPLE__)
// GL 3.2 + GLSL 150 const char *glsl_version = "#version 120";
const char *glsl_version = "#version 150";
#else #else
// GL ES 2.0 + GLSL 100 // GL ES 2.0 + GLSL 100
const char *glsl_version = "#version 100"; const char *glsl_version = "#version 100";