Chromium Code Reviews| Index: ui/gl/gl_context_glx.cc |
| diff --git a/ui/gl/gl_context_glx.cc b/ui/gl/gl_context_glx.cc |
| index 4be08f647d685a15702562c46a9d101c32dc967d..874e71fc019fcac24667a1b410357b869d1d1bbf 100644 |
| --- a/ui/gl/gl_context_glx.cc |
| +++ b/ui/gl/gl_context_glx.cc |
| @@ -166,6 +166,11 @@ bool GLContextGLX::Initialize( |
| GLXContext share_handle = static_cast<GLXContext>( |
| share_group() ? share_group()->GetHandle() : nullptr); |
| + int fbconfigid = 0; |
| + glXGetFBConfigAttrib( |
| + display_, static_cast<GLXFBConfig>(compatible_surface->GetConfig()), |
| + GLX_FBCONFIG_ID, &fbconfigid); |
|
piman
2016/09/22 21:24:55
Is this used anywhere?
Tom (Use chromium acct)
2016/09/23 20:00:37
Removed. More leftover debugging..
|
| + |
| if (GLSurfaceGLX::IsCreateContextSupported()) { |
| DVLOG(1) << "GLX_ARB_create_context supported."; |
| context_ = CreateHighestVersionContext( |