aboutsummaryrefslogtreecommitdiff
path: root/core/src/Entrypoint/Backend_OpenGL3.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2021-11-12 13:34:50 -0800
committerrtk0c <[email protected]>2021-11-12 13:34:50 -0800
commit4932f36da4fab3fc8965822bba473cbd20f7f405 (patch)
tree7317eaacb0d64de183a2bdce8e07d7120c29e5de /core/src/Entrypoint/Backend_OpenGL3.cpp
parent816bbe7993adf4a41ace7bae06bfe6a5921308b8 (diff)
Fix compile errors under MSVC, remove PLATFORM_* macros in favor of compiler builtin macros, and add win32 support to FileStream
Diffstat (limited to 'core/src/Entrypoint/Backend_OpenGL3.cpp')
-rw-r--r--core/src/Entrypoint/Backend_OpenGL3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/Entrypoint/Backend_OpenGL3.cpp b/core/src/Entrypoint/Backend_OpenGL3.cpp
index 50dc78f..b4ae368 100644
--- a/core/src/Entrypoint/Backend_OpenGL3.cpp
+++ b/core/src/Entrypoint/Backend_OpenGL3.cpp
@@ -25,7 +25,7 @@ public:
throw std::runtime_error("Failed to initialize GLFW.");
}
-# if PLATFORM_APPLE
+# if defined(__APPLE__)
// GL 3.2 + GLSL 150
const char* glslVersion = "#version 150";
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);