Switch to the D3DSWAPEFFECT_FLIPEX swap model

This commit is contained in:
Magnus Norddahl 2019-12-02 20:05:13 +01:00
commit a9e6592feb
3 changed files with 19 additions and 18 deletions

View file

@ -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); }