From f649610f88a45d3c5cae450731e4b2e810fead40 Mon Sep 17 00:00:00 2001
|
From: Jeffy Chen <jeffy.chen@rock-chips.com>
|
Date: Fri, 17 Apr 2020 22:48:12 +0800
|
Subject: [PATCH 11/12] ozone: gl_surface_egl_qt: Initialize EGL extension
|
bindings
|
|
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
|
---
|
src/core/ozone/gl_surface_egl_qt.cpp | 4 ++++
|
1 file changed, 4 insertions(+)
|
|
diff --git a/src/core/ozone/gl_surface_egl_qt.cpp b/src/core/ozone/gl_surface_egl_qt.cpp
|
index 8e8e66f638..341ed47b2c 100644
|
--- a/src/core/ozone/gl_surface_egl_qt.cpp
|
+++ b/src/core/ozone/gl_surface_egl_qt.cpp
|
@@ -120,6 +120,10 @@ bool GLSurfaceEGLQt::InitializeOneOff()
|
|
bool GLSurfaceEGLQt::InitializeExtensionSettingsOneOff()
|
{
|
+ if (!s_initialized)
|
+ return false;
|
+
|
+ g_driver_egl.InitializeExtensionBindings();
|
return s_initialized;
|
}
|
|
--
|
2.20.1
|