diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-05-13 11:22:37 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-05-18 16:09:55 +0200 |
commit | 6ef31dfb484321ec6f5a3ffe27fef98e7c1cd3b0 (patch) | |
tree | 5ad12eeb72f1ec35b62b1319908c8039ef57c114 /examples/quick/scenegraph/scenegraph.pro | |
parent | 3475b5f3a80545dfbd4746295e8e1ae88c7114ca (diff) |
Fix up the scenegraph/textureinthread example
Force OpenGL, remove the ShaderEffect (it serves no purpose in this
example) and remove deprecated API usage.
Finally, rename the example to opengltextureinthread.
Note that the example's performance is sub-par, but the same is true
with direct OpenGL.
Change-Id: I7eaa2349ffdb3d27bd9e8815d674e918bc709c03
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'examples/quick/scenegraph/scenegraph.pro')
-rw-r--r-- | examples/quick/scenegraph/scenegraph.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/scenegraph/scenegraph.pro b/examples/quick/scenegraph/scenegraph.pro index b9ce61e21d..147fa9a156 100644 --- a/examples/quick/scenegraph/scenegraph.pro +++ b/examples/quick/scenegraph/scenegraph.pro @@ -5,7 +5,7 @@ qtConfig(opengl(es1|es2)?) { graph \ fboitem \ openglunderqml \ - textureinthread \ + opengltextureinthread \ twotextureproviders } |