diff --git a/source/Irrlicht/CD3D9Driver.cpp b/source/Irrlicht/CD3D9Driver.cpp index 4e8b8c41..48de93b2 100644 --- a/source/Irrlicht/CD3D9Driver.cpp +++ b/source/Irrlicht/CD3D9Driver.cpp @@ -909,13 +909,6 @@ void CD3D9Driver::setViewPort(const core::rect& area) } -//! gets the area of the current viewport -const core::rect& CD3D9Driver::getViewPort() const -{ - return ViewPort; -} - - bool CD3D9Driver::updateVertexHardwareBuffer(SHWBufferLink_d3d9 *hwBuffer) { if (!hwBuffer) diff --git a/source/Irrlicht/CD3D9Driver.h b/source/Irrlicht/CD3D9Driver.h index ec6c1f47..746291d2 100644 --- a/source/Irrlicht/CD3D9Driver.h +++ b/source/Irrlicht/CD3D9Driver.h @@ -64,9 +64,6 @@ namespace video //! sets a viewport virtual void setViewPort(const core::rect& area) _IRR_OVERRIDE_; - //! gets the area of the current viewport - virtual const core::rect& getViewPort() const _IRR_OVERRIDE_; - struct SHWBufferLink_d3d9 : public SHWBufferLink { SHWBufferLink_d3d9(const scene::IMeshBuffer *_MeshBuffer):