diff options
Diffstat (limited to 'src/core/gl_surface_qt.cpp')
-rw-r--r-- | src/core/gl_surface_qt.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/gl_surface_qt.cpp b/src/core/gl_surface_qt.cpp index d8d306c5c..a338fe5cd 100644 --- a/src/core/gl_surface_qt.cpp +++ b/src/core/gl_surface_qt.cpp @@ -316,6 +316,11 @@ GLSurfaceQt::GLSurfaceQt(const gfx::Size& size) { } +bool GLSurfaceQt::HasEGLExtension(const char* name) +{ + return ExtensionsContain(g_extensions, name); +} + GLSurfaceQtEGL::GLSurfaceQtEGL(const gfx::Size& size) : GLSurfaceQt(size), m_surfaceBuffer(0) |