]> git.mxchange.org Git - flightgear.git/commit
CanvasWidget: Retrieve texture id every frame.
authorThomas Geymayer <tomgey@gmail.com>
Sun, 9 Dec 2012 22:15:17 +0000 (23:15 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Sun, 9 Dec 2012 22:15:49 +0000 (23:15 +0100)
commite62649e0755841f488728c073d33154dc1306379
tree87b013b8d74574fbde91aa5f79b52c7fd82e5040
parentdc132ab475fa16979c8c8e370521b8d38bdefdd3
CanvasWidget: Retrieve texture id every frame.

If the size of a Canvas changes also the texture id
changes. We now retrieve the texture id for the CanvasWidget
every frame to ensure it uses the latest texture instance.
src/Canvas/canvas_mgr.cxx
src/Canvas/canvas_mgr.hxx
src/GUI/CanvasWidget.cxx
src/GUI/CanvasWidget.hxx