mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-18 13:12:50 +00:00
don't write to disk
This commit is contained in:
parent
800df7376c
commit
4a6a8e5420
@ -66,7 +66,6 @@ void ImageRotate::rotate(const std::string& sourceImage, const std::string& dest
|
|||||||
vp->setClearEveryFrame(true, FBT_DEPTH);
|
vp->setClearEveryFrame(true, FBT_DEPTH);
|
||||||
|
|
||||||
rtt->update();
|
rtt->update();
|
||||||
rtt->writeContentsToFile(destImage);
|
|
||||||
|
|
||||||
// remove all the junk we've created
|
// remove all the junk we've created
|
||||||
MaterialManager::getSingleton().remove("ImageRotateMaterial");
|
MaterialManager::getSingleton().remove("ImageRotateMaterial");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user