summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-07-29 12:43:05 +0200
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-08-06 07:30:50 +0000
commit4d39da87349d4930a4fd97af3afaacc1fd838c9f (patch)
tree2609063517063ab38d3a7caf95d917f35423f1e6 /src/gui
parent752362b0fa48ae9be15757aff7eb3dce6665b41a (diff)
eglfs: save state in the cursor
Running an example like hellogles3 with eglfs and the mouse cursor visible breaks due to the cursor implementation not being aware of vertex array objects. The cursor drawing code uses client side pointers and having a VAO bound breaks this. Instead, the VAO should be reset to 0. In addition, the same applies to all touched state: naive applications doing custom OpenGL rendering expect the state to be unchanged between frames and this is not unreasonable. So introduce saving and restoring for all touched state, with the exception of Quick where there is no need to waste time with this. Change-Id: Ib79039e80993ab5fc8368357fc1147ee7863d055 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions