Switch to the D3DSWAPEFFECT_FLIPEX swap model
This commit is contained in:
parent
43139276d1
commit
a9e6592feb
3 changed files with 19 additions and 18 deletions
|
|
@ -83,6 +83,8 @@ private:
|
|||
std::unique_ptr<PolyDepthStencil> mDepthStencil;
|
||||
std::shared_ptr<DrawerCommandQueue> mDrawCommands;
|
||||
RenderMemory mFrameMemory;
|
||||
|
||||
bool cur_vsync = false;
|
||||
};
|
||||
|
||||
inline PolyFrameBuffer *GetPolyFrameBuffer() { return static_cast<PolyFrameBuffer*>(screen); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue