Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

deleted unused code

tomosu04cb6c4a4983
diff --git a/toonz/sources/common/tvrender/qtofflinegl.cpp b/toonz/sources/common/tvrender/qtofflinegl.cpp
index 9705a39f2..4c4c4ff5e 100644
--- a/toonz/sources/common/tvrender/qtofflinegl.cpp
+++ b/toonz/sources/common/tvrender/qtofflinegl.cpp
@@ -225,12 +225,6 @@ void QtOfflineGL::getRaster(TRaster32P raster)
raster->lock();
raster->copy( TRaster32P(lx, ly, m_fbo->width(), (TPixelRGBM32 *)m_fbo->toImage(false).bits(), false) );
-
-#ifdef WIN32
- swapRedBlueChannels(raster->getRawData(), lx * ly);
-#elif MACOSX
- //rightRotateBits(raster->getRawData(), lx * ly);
-#endif
raster->unlock();
}