summaryrefslogtreecommitdiffstats
path: root/src/core/surface_factory_qt.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-09-19 13:43:03 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-10-25 07:03:39 +0000
commit2e0653699ca849714cfe1481068b02539df46cd5 (patch)
treeca12a0f39bb3573681f999c27b8994029947aa40 /src/core/surface_factory_qt.cpp
parent049a2ef68fe37d86b1367fcaf5844aadf0e3fd96 (diff)
Adaptations to 61-based
Change-Id: I5cb198445f283c6cea8187a1a2883896df0ee918 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/surface_factory_qt.cpp')
-rw-r--r--src/core/surface_factory_qt.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/surface_factory_qt.cpp b/src/core/surface_factory_qt.cpp
index 6e5e13866..d0741506a 100644
--- a/src/core/surface_factory_qt.cpp
+++ b/src/core/surface_factory_qt.cpp
@@ -77,8 +77,7 @@ protected:
intptr_t GetNativeDisplay() override;
// Sets up GL bindings for the native surface.
- bool LoadGLES2Bindings() override;
-
+ bool LoadGLES2Bindings(gl::GLImplementation implementation) override;
};
base::NativeLibrary LoadLibrary(const base::FilePath& filename) {
@@ -91,7 +90,7 @@ base::NativeLibrary LoadLibrary(const base::FilePath& filename) {
return library;
}
-bool GLOzoneQt::LoadGLES2Bindings()
+bool GLOzoneQt::LoadGLES2Bindings(gl::GLImplementation /*implementation*/)
{
base::NativeLibrary eglgles2Library = dlopen(NULL, RTLD_LAZY);
if (!eglgles2Library) {