summaryrefslogtreecommitdiffstats
path: root/src/core/ozone/gl_surface_qt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ozone/gl_surface_qt.h')
-rw-r--r--src/core/ozone/gl_surface_qt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ozone/gl_surface_qt.h b/src/core/ozone/gl_surface_qt.h
index c6ea79a94..f9d18a0ae 100644
--- a/src/core/ozone/gl_surface_qt.h
+++ b/src/core/ozone/gl_surface_qt.h
@@ -18,7 +18,7 @@ public:
static bool HasEGLExtension(const char* name);
// Implement GLSurface.
- void *GetDisplay() override;
+ GLDisplay *GetGLDisplay() override;
void *GetConfig() override;
bool IsOffscreen() override;
gfx::SwapResult SwapBuffers(PresentationCallback callback) override;
@@ -34,7 +34,7 @@ protected:
public:
static void* g_config;
- static void* g_display;
+ static GLDisplay *g_display;
static std::string g_extensions;
static std::string g_client_extensions;
};