summaryrefslogtreecommitdiffstats
path: root/src/core/ozone/gl_surface_qt.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-02-08 16:13:34 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-03-29 14:52:16 +0200
commitd9ae75b3234392aebb714c1046a471386a63deed (patch)
tree5ea50ef1a82447ca85032028ca0c935265f0b4ae /src/core/ozone/gl_surface_qt.cpp
parentdb59a3096b4f44aaacabdc5b455fbc0a3a6b8fb1 (diff)
Adaptations for Chrome 98
Change-Id: I607604f85a111a69da77ca949dddf3399b9721b3 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'src/core/ozone/gl_surface_qt.cpp')
-rw-r--r--src/core/ozone/gl_surface_qt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ozone/gl_surface_qt.cpp b/src/core/ozone/gl_surface_qt.cpp
index 8af3bd3c1..7110a00df 100644
--- a/src/core/ozone/gl_surface_qt.cpp
+++ b/src/core/ozone/gl_surface_qt.cpp
@@ -130,7 +130,7 @@ bool InitializeGLOneOffPlatform()
if (GetGLImplementation() == kGLImplementationEGLGLES2 || GetGLImplementation() == kGLImplementationEGLANGLE)
return GLSurfaceEGLQt::InitializeOneOff();
- if (GetGLImplementation() == kGLImplementationDesktopGL)
+ if (GetGLImplementation() == kGLImplementationDesktopGL || GetGLImplementation() == kGLImplementationDesktopGLCoreProfile)
return GLSurfaceWGLQt::InitializeOneOff();
return false;