_windowfps fixx
This commit is contained in:
@@ -182,6 +182,7 @@ WindowsWindow::WindowsWindow(const CreateWindowSettings& settings)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
UpdateRegion();
|
UpdateRegion();
|
||||||
|
InitSwapChain();
|
||||||
}
|
}
|
||||||
|
|
||||||
WindowsWindow::~WindowsWindow()
|
WindowsWindow::~WindowsWindow()
|
||||||
@@ -209,7 +210,7 @@ void WindowsWindow::Show()
|
|||||||
{
|
{
|
||||||
if (!_visible)
|
if (!_visible)
|
||||||
{
|
{
|
||||||
InitSwapChain();
|
//InitSwapChain();
|
||||||
if (_showAfterFirstPaint)
|
if (_showAfterFirstPaint)
|
||||||
{
|
{
|
||||||
if (RenderTask)
|
if (RenderTask)
|
||||||
|
|||||||
Reference in New Issue
Block a user