summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_debug.cpp
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2010-10-28 23:18:15 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-01-25 18:02:34 (GMT)
commit513f396c7a888473a32cf212f1ce969fe38fdf2e (patch)
treef79de5ea47352634b18db112974e0fcd8e22064b /doc/src/snippets/code/doc_src_debug.cpp
parentb026c22b06647dadbe76943fe174e57f82ac2b50 (diff)
downloadQt-513f396c7a888473a32cf212f1ce969fe38fdf2e.zip
Qt-513f396c7a888473a32cf212f1ce969fe38fdf2e.tar.gz
Qt-513f396c7a888473a32cf212f1ce969fe38fdf2e.tar.bz2
Wayland: use correct viewport for swapBuffers and correct coords
We're drawing into the parent, so we need to use the parent's geometry for the GL viewport, or we may not be able to draw it. We also need to use the parent width & height when checking whether to normalize to 1.0 or -1.0 in the coord transform calculations.
Diffstat (limited to 'doc/src/snippets/code/doc_src_debug.cpp')
0 files changed, 0 insertions, 0 deletions