summaryrefslogtreecommitdiff
path: root/indra/llwindow
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-09-05 23:14:03 +0800
committerErik Kundiman <erik@megapahit.org>2023-09-05 23:14:03 +0800
commited44bcf9f763a7d1f7549eb1f03d8aa7fb933ef7 (patch)
tree0d37e52d48fd72f61ce4f6ac718a494c8b45c5a7 /indra/llwindow
parent6e9102ad408282ea6d5f8926f4a6ed377fe922ef (diff)
Preprocess non portable GL funcs & macros
so that implementations that don't include a certain GL implementation won't fail trying to compile the code.
Diffstat (limited to 'indra/llwindow')
-rw-r--r--indra/llwindow/llwindowsdl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowsdl.cpp b/indra/llwindow/llwindowsdl.cpp
index 37c4d09a73..e3af20c090 100644
--- a/indra/llwindow/llwindowsdl.cpp
+++ b/indra/llwindow/llwindowsdl.cpp
@@ -761,7 +761,9 @@ BOOL LLWindowSDL::createContext(int x, int y, int width, int height, int bits, B
//make sure multisampling is disabled by default
+#if GL_VERSION_1_3
glDisable(GL_MULTISAMPLE_ARB);
+#endif
// We need to do this here, once video is init'd
/*