mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-22 19:41:04 -04:00
Implement CreateFrame() (#160)
This commit is contained in:
parent
e3cbbee000
commit
440581bb78
@ -241,8 +241,11 @@ struct Direct3DRMImpl : virtual public IDirect3DRM2 {
|
||||
}
|
||||
HRESULT CreateFrame(IDirect3DRMFrame* parent, IDirect3DRMFrame2** outFrame) override
|
||||
{
|
||||
MINIWIN_NOT_IMPLEMENTED();
|
||||
*outFrame = static_cast<IDirect3DRMFrame2*>(new Direct3DRMFrameImpl);
|
||||
auto frame = new Direct3DRMFrameImpl;
|
||||
*outFrame = static_cast<IDirect3DRMFrame2*>(frame);
|
||||
if (parent) {
|
||||
parent->AddChild(static_cast<IDirect3DRMFrame*>(frame));
|
||||
}
|
||||
return DD_OK;
|
||||
}
|
||||
HRESULT CreateViewport(
|
||||
|
Loading…
x
Reference in New Issue
Block a user