diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-09-05 23:14:03 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-09-05 23:14:03 +0800 |
commit | ed44bcf9f763a7d1f7549eb1f03d8aa7fb933ef7 (patch) | |
tree | 0d37e52d48fd72f61ce4f6ac718a494c8b45c5a7 /indra/llwindow | |
parent | 6e9102ad408282ea6d5f8926f4a6ed377fe922ef (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.cpp | 2 |
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 /* |