Brought windows in sync

This commit is contained in:
Jack Andersen 2015-12-20 15:06:08 -10:00
parent 0b80cafe92
commit fd01dbb17a
2 changed files with 10 additions and 0 deletions

View File

@ -795,6 +795,11 @@ struct D3D11CommandQueue : IGraphicsCommandQueue
m_texResizes[ctex] = std::make_pair(width, height); m_texResizes[ctex] = std::make_pair(width, height);
} }
void schedulePostFrameHandler(std::function<void(void)>&& func)
{
func();
}
float m_clearColor[4] = {0.0,0.0,0.0,1.0}; float m_clearColor[4] = {0.0,0.0,0.0,1.0};
void setClearColor(const float rgba[4]) void setClearColor(const float rgba[4])
{ {

View File

@ -1058,6 +1058,11 @@ struct D3D12CommandQueue : IGraphicsCommandQueue
m_texResizes[ctex] = std::make_pair(width, height); m_texResizes[ctex] = std::make_pair(width, height);
} }
void schedulePostFrameHandler(std::function<void(void)>&& func)
{
func();
}
float m_clearColor[4] = {0.0,0.0,0.0,1.0}; float m_clearColor[4] = {0.0,0.0,0.0,1.0};
void setClearColor(const float rgba[4]) void setClearColor(const float rgba[4])
{ {