Port 2V0-f window input and UI render command bridge
This commit is contained in:
@@ -7,20 +7,17 @@
|
||||
|
||||
auto CGraphicTexture::IsEmpty() const -> bool
|
||||
{
|
||||
MT_PLATFORM_STUB();
|
||||
return mt_platform_stub_return<bool>();
|
||||
return m_bEmpty;
|
||||
}
|
||||
|
||||
auto CGraphicTexture::GetWidth() const -> int
|
||||
{
|
||||
MT_PLATFORM_STUB();
|
||||
return mt_platform_stub_return<int>();
|
||||
return m_width;
|
||||
}
|
||||
|
||||
auto CGraphicTexture::GetHeight() const -> int
|
||||
{
|
||||
MT_PLATFORM_STUB();
|
||||
return mt_platform_stub_return<int>();
|
||||
return m_height;
|
||||
}
|
||||
|
||||
auto CGraphicTexture::SetTextureStage(int) const -> void
|
||||
@@ -41,7 +38,9 @@ auto CGraphicTexture::DestroyDeviceObjects() -> void
|
||||
|
||||
CGraphicTexture::CGraphicTexture()
|
||||
{
|
||||
MT_PLATFORM_STUB();
|
||||
m_bEmpty = true;
|
||||
m_width = m_height = 0;
|
||||
m_lpd3dTexture = nullptr;
|
||||
}
|
||||
|
||||
CGraphicTexture::~CGraphicTexture()
|
||||
@@ -51,7 +50,8 @@ CGraphicTexture::~CGraphicTexture()
|
||||
|
||||
auto CGraphicTexture::Destroy() -> void
|
||||
{
|
||||
MT_PLATFORM_STUB();
|
||||
m_bEmpty = true;
|
||||
m_width = m_height = 0;
|
||||
}
|
||||
|
||||
auto CGraphicTexture::Initialize() -> void
|
||||
|
||||
Reference in New Issue
Block a user