summaryrefslogtreecommitdiff
path: root/indra/llwindow
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-12-16 14:58:02 -0600
committerDave Parks <davep@lindenlab.com>2022-12-16 14:58:02 -0600
commit89f21f276fe369e6c28abb6ff44200e2cb8098c8 (patch)
tree36ccc0681fca49f8f9739eac20e3215155a996b3 /indra/llwindow
parent4711241dd523e64b68ef51e2b9e52a95b04e7034 (diff)
SL-18719 GL 3.0/3.1 compatibility pass.
Diffstat (limited to 'indra/llwindow')
-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 a74c4172eb..7787e2eb26 100644
--- a/indra/llwindow/llwindowwin32.cpp
+++ b/indra/llwindow/llwindowwin32.cpp
@@ -1874,7 +1874,7 @@ void LLWindowWin32::recreateWindow(RECT window_rect, DWORD dw_ex_style, DWORD dw
void* LLWindowWin32::createSharedContext()
{
- mMaxGLVersion = llclamp(mMaxGLVersion, 3.2f, 4.6f);
+ mMaxGLVersion = llclamp(mMaxGLVersion, 3.f, 4.6f);
S32 version_major = llfloor(mMaxGLVersion);
S32 version_minor = llround((mMaxGLVersion-version_major)*10);