summaryrefslogtreecommitdiff
path: root/indra/llwindow
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2011-01-13 13:46:00 -0500
committerNyx (Neal Orman) <nyx@lindenlab.com>2011-01-13 13:46:00 -0500
commitd1683bd65ae2797de9d92658d720b81c3be80fff (patch)
treefd002b4adff9a42333ce8f0dd5a5ef516c61016a /indra/llwindow
parent8fae5d49bf211fbbd58511442f91e09e8c4c0458 (diff)
glFlush != glFinish. doh.
Diffstat (limited to 'indra/llwindow')
-rw-r--r--indra/llwindow/llwindowmacosx.cpp2
-rw-r--r--indra/llwindow/llwindowsdl.cpp2
-rw-r--r--indra/llwindow/llwindowwin32.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp
index fa8ba7bafa..db90aaf52a 100644
--- a/indra/llwindow/llwindowmacosx.cpp
+++ b/indra/llwindow/llwindowmacosx.cpp
@@ -1273,7 +1273,7 @@ BOOL LLWindowMacOSX::setSize(const LLCoordScreen size)
void LLWindowMacOSX::swapBuffers()
{
- glFlush();
+ glFinish();
aglSwapBuffers(mContext);
}
diff --git a/indra/llwindow/llwindowsdl.cpp b/indra/llwindow/llwindowsdl.cpp
index 80566b40c0..e41aa9820f 100644
--- a/indra/llwindow/llwindowsdl.cpp
+++ b/indra/llwindow/llwindowsdl.cpp
@@ -985,7 +985,7 @@ void LLWindowSDL::swapBuffers()
{
if (mWindow)
{
- glFlush();
+ glFinish();
SDL_GL_SwapBuffers();
}
}
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp
index e457e76f55..aba0dc43eb 100644
--- a/indra/llwindow/llwindowwin32.cpp
+++ b/indra/llwindow/llwindowwin32.cpp
@@ -2858,7 +2858,7 @@ BOOL LLWindowWin32::resetDisplayResolution()
void LLWindowWin32::swapBuffers()
{
- glFlush();
+ glFinish();
SwapBuffers(mhDC);
}