diff options
author | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-20 16:48:42 +0000 |
---|---|---|
committer | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-20 16:48:42 +0000 |
commit | 9df006624d3c34237a98f241a85f469ad3c3eef6 (patch) | |
tree | bee32e0b13e49dc429475bf461485a5ee55c363f /ui | |
parent | 08bc599016b630758124ea08289e6aaad0568b84 (diff) | |
download | chromium_src-9df006624d3c34237a98f241a85f469ad3c3eef6.zip chromium_src-9df006624d3c34237a98f241a85f469ad3c3eef6.tar.gz chromium_src-9df006624d3c34237a98f241a85f469ad3c3eef6.tar.bz2 |
Fixed longstanding bug on Linux where vsync was disabled because
GLX_EXT_swap_interval was not in the extensions string.
This fix only has an effect when the compositing window manager is
disabled. It seems that the compositing window manager interferes with
the swap interval extension, and that it doesn't use it internally.
BUG=78553
TEST=none
Review URL: http://codereview.chromium.org/6883074
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gfx/gl/gl_context_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gfx/gl/gl_context_linux.cc b/ui/gfx/gl/gl_context_linux.cc index 1a114d8..6cd77dd 100644 --- a/ui/gfx/gl/gl_context_linux.cc +++ b/ui/gfx/gl/gl_context_linux.cc @@ -50,7 +50,7 @@ class BaseLinuxGLContext : public GLContext { // This class is a wrapper around a GL context that renders directly to a // window. -class ViewGLContext : public GLContext { +class ViewGLContext : public BaseLinuxGLContext { public: explicit ViewGLContext(gfx::PluginWindowHandle window) : window_(window), |