projects
/
profile
/
ivi
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95cd185
)
use QWindows's format so users can override
author
Gunnar Sletta
<gunnar.sletta@nokia.com>
Thu, 29 Sep 2011 18:59:00 +0000
(20:59 +0200)
committer
Qt by Nokia
<qt-info@nokia.com>
Mon, 3 Oct 2011 09:43:03 +0000
(11:43 +0200)
Change-Id: I3dd2d1ff63acb672ef4943cf8347c5c10f2d9466
Reviewed-on: http://codereview.qt-project.org/5847
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/declarative/items/qsgcanvas.cpp
patch
|
blob
|
history
diff --git
a/src/declarative/items/qsgcanvas.cpp
b/src/declarative/items/qsgcanvas.cpp
index
d4a74cd
..
4eb6f92
100644
(file)
--- a/
src/declarative/items/qsgcanvas.cpp
+++ b/
src/declarative/items/qsgcanvas.cpp
@@
-1893,7
+1893,7
@@
QDeclarativeIncubationController *QSGCanvas::incubationController() const
void QSGCanvasRenderLoop::createGLContext()
{
gl = new QOpenGLContext();
- gl->setFormat(
d->context->defaultSurface
Format());
+ gl->setFormat(
renderer->requested
Format());
gl->create();
}