diff --git a/source/Irrlicht/CD3D9Driver.cpp b/source/Irrlicht/CD3D9Driver.cpp index 7e6e8b48..3e251f24 100644 --- a/source/Irrlicht/CD3D9Driver.cpp +++ b/source/Irrlicht/CD3D9Driver.cpp @@ -1465,8 +1465,6 @@ void CD3D9Driver::draw2DImage(const video::ITexture* texture, tcoords.LowerRightCorner.X = (f32)sourceRect.LowerRightCorner.X / (f32)ss.Width; tcoords.LowerRightCorner.Y = (f32)sourceRect.LowerRightCorner.Y / (f32)ss.Height; - const core::dimension2d& renderTargetSize = getCurrentRenderTargetSize(); - const video::SColor temp[4] = { 0xFFFFFFFF,