diff options
Diffstat (limited to 'linden/indra/llwindow')
-rw-r--r-- | linden/indra/llwindow/llgl.cpp | 6 | ||||
-rw-r--r-- | linden/indra/llwindow/llwindowwin32.cpp | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/linden/indra/llwindow/llgl.cpp b/linden/indra/llwindow/llgl.cpp index e8169b6..debf2e3 100644 --- a/linden/indra/llwindow/llgl.cpp +++ b/linden/indra/llwindow/llgl.cpp | |||
@@ -990,6 +990,12 @@ void LLGLState::initClass() | |||
990 | { | 990 | { |
991 | sStateMap[GL_DITHER] = GL_TRUE; | 991 | sStateMap[GL_DITHER] = GL_TRUE; |
992 | sStateMap[GL_TEXTURE_2D] = GL_TRUE; | 992 | sStateMap[GL_TEXTURE_2D] = GL_TRUE; |
993 | |||
994 | //make sure vertex arrays are enabled | ||
995 | glEnableClientState(GL_VERTEX_ARRAY); | ||
996 | |||
997 | //make sure multi sampling is disabled by default | ||
998 | glDisable(GL_MULTISAMPLE_ARB); | ||
993 | } | 999 | } |
994 | 1000 | ||
995 | //static | 1001 | //static |
diff --git a/linden/indra/llwindow/llwindowwin32.cpp b/linden/indra/llwindow/llwindowwin32.cpp index 70487b7..2001899 100644 --- a/linden/indra/llwindow/llwindowwin32.cpp +++ b/linden/indra/llwindow/llwindowwin32.cpp | |||
@@ -1346,9 +1346,6 @@ BOOL LLWindowWin32::switchContext(BOOL fullscreen, const LLCoordScreen &size, BO | |||
1346 | SetWindowLong(mWindowHandle, GWL_USERDATA, (U32)this); | 1346 | SetWindowLong(mWindowHandle, GWL_USERDATA, (U32)this); |
1347 | show(); | 1347 | show(); |
1348 | 1348 | ||
1349 | //make sure multi sampling is disabled by default | ||
1350 | glDisable(GL_MULTISAMPLE_ARB); | ||
1351 | |||
1352 | //register joystick timer callback | 1349 | //register joystick timer callback |
1353 | SetTimer( mWindowHandle, 0, 1000 / 30, NULL ); // 30 fps timer | 1350 | SetTimer( mWindowHandle, 0, 1000 / 30, NULL ); // 30 fps timer |
1354 | 1351 | ||