]> git.mxchange.org Git - simgear.git/commit
Create new FBO if Canvas render target size chanages
authorThomas Geymayer <tomgey@gmail.com>
Sun, 9 Dec 2012 22:08:04 +0000 (23:08 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Sun, 9 Dec 2012 22:08:07 +0000 (23:08 +0100)
commit2263823f7574a86687994535a02b6a2376b843b5
tree425ec120aa9ae73b43ed5ac05015c577939b3bb3
parenta882263033de7633a3b91ace231f237d66ac1532
Create new FBO if Canvas render target size chanages

As doesnt seem to work to just resize the texture, if changing
the size of the Canvas render target a new FBO is created and
placed on all active placements.
simgear/canvas/Canvas.cxx
simgear/canvas/Canvas.hxx
simgear/canvas/ODGauge.cxx
simgear/canvas/ODGauge.hxx