mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-06 10:20:41 +01:00
Remove CD3D9Driver::getViewPort overload which did the exact same thing as base class.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6217 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
2acce15bcd
commit
f31c1be792
|
@ -909,13 +909,6 @@ void CD3D9Driver::setViewPort(const core::rect<s32>& area)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//! gets the area of the current viewport
|
|
||||||
const core::rect<s32>& CD3D9Driver::getViewPort() const
|
|
||||||
{
|
|
||||||
return ViewPort;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
bool CD3D9Driver::updateVertexHardwareBuffer(SHWBufferLink_d3d9 *hwBuffer)
|
bool CD3D9Driver::updateVertexHardwareBuffer(SHWBufferLink_d3d9 *hwBuffer)
|
||||||
{
|
{
|
||||||
if (!hwBuffer)
|
if (!hwBuffer)
|
||||||
|
|
|
@ -64,9 +64,6 @@ namespace video
|
||||||
//! sets a viewport
|
//! sets a viewport
|
||||||
virtual void setViewPort(const core::rect<s32>& area) _IRR_OVERRIDE_;
|
virtual void setViewPort(const core::rect<s32>& area) _IRR_OVERRIDE_;
|
||||||
|
|
||||||
//! gets the area of the current viewport
|
|
||||||
virtual const core::rect<s32>& getViewPort() const _IRR_OVERRIDE_;
|
|
||||||
|
|
||||||
struct SHWBufferLink_d3d9 : public SHWBufferLink
|
struct SHWBufferLink_d3d9 : public SHWBufferLink
|
||||||
{
|
{
|
||||||
SHWBufferLink_d3d9(const scene::IMeshBuffer *_MeshBuffer):
|
SHWBufferLink_d3d9(const scene::IMeshBuffer *_MeshBuffer):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user