hc
2023-05-26 a23f51ed7a39e452c1037343a84d7db1ca2c5bd7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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