]> git.tdb.fi Git - libs/gui.git/commit
Add some state checking to ImageLoader
authorMikko Rasa <tdb@tdb.fi>
Sun, 7 Feb 2021 14:36:12 +0000 (16:36 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 7 Feb 2021 14:37:13 +0000 (16:37 +0200)
commit2ebdf45974a0a7649b3488f9da4b8cf90a1db584
tree67d751927c45729648f5b198f2c0703334c28c87
parent7672cbffb3efd3cce448f85a5e0acd4bed7ec0dd
Add some state checking to ImageLoader

Reject attemps to call load again on the same loader
12 files changed:
source/graphics/bmploader.cpp
source/graphics/bmploader.h
source/graphics/devil/devilloader.cpp
source/graphics/devil/devilloader.h
source/graphics/imageloader.cpp
source/graphics/imageloader.h
source/graphics/jpeg/jpegloader.cpp
source/graphics/jpeg/jpegloader.h
source/graphics/png/pngloader.cpp
source/graphics/png/pngloader.h
source/graphics/quartz/quartzloader.cpp
source/graphics/quartz/quartzloader.h