diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-08-26 15:29:28 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-08-26 15:33:02 (GMT) |
commit | a6f19188282b427272f075063a306c7ef98e8a95 (patch) | |
tree | f129f427fc7c2926880652c9800121b61bc8914b /examples/opengl | |
parent | 4337df117dfa429776f2236141b570c4957e4a2a (diff) | |
download | Qt-a6f19188282b427272f075063a306c7ef98e8a95.zip Qt-a6f19188282b427272f075063a306c7ef98e8a95.tar.gz Qt-a6f19188282b427272f075063a306c7ef98e8a95.tar.bz2 |
Made GL 2 engine reset various GL state to their defaults in end().
This makes mixing GL and QPainter code safer. We need to be able to
assume default GL state in begin(), and set back whatever we change to
the default state in end() in the GL 2 paint engine.
Reviewed-by: Trond
Diffstat (limited to 'examples/opengl')
0 files changed, 0 insertions, 0 deletions