diff options
| author | Lorn Potter <[email protected]> | 2019-01-31 14:06:39 +1000 |
|---|---|---|
| committer | Morten Johan Sørvig <[email protected]> | 2019-03-08 10:09:46 +0000 |
| commit | 452c644c5c51d78d72dde703c81fc7789e5b84f1 (patch) | |
| tree | deac1613356b3144e3e592479a2d55f35861e23d /src/plugins/platforms/wasm/qwasmopenglcontext.h | |
| parent | 859f837d46a2e7f00a2f43d654a01c5de1b61b1f (diff) | |
wasm: make wasm platform target a specific canvas instead of default
This allows for multi canvas use
Task-number: QTBUG-64079
Change-Id: I69c998aa4c2869bb5b7f14ba65bb63284365ad70
Reviewed-by: Morten Johan Sørvig <[email protected]>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmopenglcontext.h')
| -rw-r--r-- | src/plugins/platforms/wasm/qwasmopenglcontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wasm/qwasmopenglcontext.h b/src/plugins/platforms/wasm/qwasmopenglcontext.h index 91231004798..126b596a7e9 100644 --- a/src/plugins/platforms/wasm/qwasmopenglcontext.h +++ b/src/plugins/platforms/wasm/qwasmopenglcontext.h @@ -51,7 +51,7 @@ public: private: void maybeRecreateEmscriptenContext(QPlatformSurface *surface); - static EMSCRIPTEN_WEBGL_CONTEXT_HANDLE createEmscriptenContext(const char *canvasId, QSurfaceFormat format); + static EMSCRIPTEN_WEBGL_CONTEXT_HANDLE createEmscriptenContext(const QString &canvasId, QSurfaceFormat format); bool m_contextLost = false; QSurfaceFormat m_requestedFormat; |
