Enhance QQuickFramebufferObject docs regarding the state
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>
Tue, 5 May 2015 09:45:31 +0000 (11:45 +0200)
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>
Wed, 6 May 2015 11:56:02 +0000 (11:56 +0000)
commit45212181e0510eb94f67329731fd6574a6abe3f5
tree321eb5f9cb7e374978fa08c674acc3de456da227
parentb59e605b4d2f3c17b8bee0322ba156f990403d2d
Enhance QQuickFramebufferObject docs regarding the state

Add a note about resetOpenGLState() and the initial state to render().
This tries to tackle the common issue of forgetting to set or reset the
state the custom OpenGL code relies on.

Change-Id: I706b2b1eac76468a9b35cfb7cd99bd5483f2912c
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
src/quick/items/qquickframebufferobject.cpp