From 52a581a39889dbc977f471c5e31e0fd468cc7bc6 Mon Sep 17 00:00:00 2001 From: Alexander Gavriliuk Date: Wed, 10 Jul 2024 20:22:41 +0200 Subject: #1859 BugSplat Crash: SecondLifeViewer!::operator()(61) --- indra/llwindow/llwindowwin32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/llwindow') 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. -- cgit v1.2.3