diff options
author | Jacek Antonelli | 2008-08-15 23:45:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:57 -0500 |
commit | 7e3007b63521c4b0c5bbad1c3964a557fc526ce2 (patch) | |
tree | ab231ed574db618873d6ebb25293cf7c0cb6d26e /linden/indra/llwindow | |
parent | Second Life viewer sources 1.20.10 (diff) | |
download | meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.zip meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.gz meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.bz2 meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.xz |
Second Life viewer sources 1.20.11
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 | ||