]> git.tdb.fi Git - libs/gl.git/commit
Restore old samples value if create_targets fails
authorMikko Rasa <tdb@tdb.fi>
Thu, 28 Nov 2013 12:51:23 +0000 (14:51 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 28 Nov 2013 12:51:23 +0000 (14:51 +0200)
commit6cfe786e84d9d9474c7bd5a78d1b5c92e3868e4e
tree2c433b4455d90d273f77b458c27bbe70fe0feb98
parent27fe0982fc18d1f5f9efe942e18c42f508268f34
Restore old samples value if create_targets fails

An application could use try-catch to check if a certain level of
multisampling is available, and leaving samples to that value would
interfere with later operations.
source/pipeline.cpp