diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2014-11-17 14:43:27 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-01-12 11:37:53 +0100 |
commit | 8b3643dd8b492f7754846e7371686db61bcfef69 (patch) | |
tree | 3c4605d2c2f0fb2761c51bf40a9d5f370d3befd7 /src/imports/folderlistmodel | |
parent | e339c279e0241cd132e068f929c303fabde509ee (diff) |
Make opengl context current in context2d's toImage if necessary
With the basic render loop the scene graph thread is the render thread
and thus we don't get a different opengl context for context2d in
immediate/fbo mode. We have to make sure the opengl context is current
when we call flush() from functions exposed to JS.
Change-Id: Idd91cf1ce9c299a7645cf3b78d4498652376b17e
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/imports/folderlistmodel')
0 files changed, 0 insertions, 0 deletions