summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowwin32.cpp
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2024-07-10 20:22:41 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2024-07-11 03:20:24 +0200
commit52a581a39889dbc977f471c5e31e0fd468cc7bc6 (patch)
tree1887d83a6b6da724e8d1eac3d0bff3814746d743 /indra/llwindow/llwindowwin32.cpp
parente43c4c78b39b9208b1e3cdd26c20d9257d4df184 (diff)
#1859 BugSplat Crash: SecondLifeViewer!<lambda>::operator()(61)
Diffstat (limited to 'indra/llwindow/llwindowwin32.cpp')
-rw-r--r--indra/llwindow/llwindowwin32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp
index 2f6c966fd8..70316ec36a 100644
--- a/indra/llwindow/llwindowwin32.cpp
+++ b/indra/llwindow/llwindowwin32.cpp
@@ -1383,7 +1383,7 @@ bool LLWindowWin32::switchContext(bool fullscreen, const LLCoordScreen& size, bo
gGLManager.initWGL();
- if (wglChoosePixelFormatARB)
+ if (wglChoosePixelFormatARB && wglGetPixelFormatAttribivARB)
{
// OK, at this point, use the ARB wglChoosePixelFormatsARB function to see if we
// can get exactly what we want.