diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-07-25 18:39:23 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-07-25 21:00:57 +0200 |
commit | 384f551844ddb9ea0042a0894a9dad7a90dd9935 (patch) | |
tree | 9f66ddae04aa5c64bdd8a20017ba7195e4df9a9f /src/plugins/platforms/webgl/qwebglintegration.cpp | |
parent | 6d9a290c2289bd0e0f3556e5b681b2fd046a5fbb (diff) | |
parent | 48c49f30cb368a4bbe0af858064bf555551f5e01 (diff) |
Merge "Merge remote-tracking branch 'origin/dev' into wip/qt6"
Diffstat (limited to 'src/plugins/platforms/webgl/qwebglintegration.cpp')
-rw-r--r-- | src/plugins/platforms/webgl/qwebglintegration.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/platforms/webgl/qwebglintegration.cpp b/src/plugins/platforms/webgl/qwebglintegration.cpp index dfae866..645c766 100644 --- a/src/plugins/platforms/webgl/qwebglintegration.cpp +++ b/src/plugins/platforms/webgl/qwebglintegration.cpp @@ -253,6 +253,12 @@ QPlatformWindow *QWebGLIntegration::createPlatformWindow(QWindow *window) const return platformWindow; } +QPlatformOffscreenSurface *QWebGLIntegration::createPlatformOffscreenSurface(QOffscreenSurface *surface) const +{ + qCDebug(lcWebGL, "New offscreen surface %p", surface); + return new QWebGLOffscreenSurface(surface); +} + QPlatformOpenGLContext *QWebGLIntegration::createPlatformOpenGLContext(QOpenGLContext *context) const { |