From 579285aa10101140e1e42d6260d766dbd1bb9bee Mon Sep 17 00:00:00 2001 From: Apoorva Joshi Date: Thu, 31 Dec 2015 23:33:29 +0530 Subject: [PATCH] Fixed zero-size on Windows restore --- src/win32_papaya.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/win32_papaya.cpp b/src/win32_papaya.cpp index b699ea1..f738c1c 100644 --- a/src/win32_papaya.cpp +++ b/src/win32_papaya.cpp @@ -23,7 +23,7 @@ typedef float real32; typedef double real64; #ifndef PAPAYARELEASE - #define PAPAYA_DEFAULT_IMAGE "C:\\Users\\Apoorva\\Pictures\\ImageTest\\test4k.jpg" + #define PAPAYA_DEFAULT_IMAGE "C:\\Users\\Apoorva\\Pictures\\ImageTest\\transparent4k.png" #endif #include "papaya.h" @@ -442,6 +442,7 @@ int CALLBACK WinMain(HINSTANCE Instance, HINSTANCE PrevInstance, LPSTR CommandLi #ifdef PAPAYARELEASE + SetWindowPos(Window, HWND_TOP, 0, 0, 600, 600, NULL); ShowWindow(Window, SW_MAXIMIZE); #else uint32 ScreenWidth = GetSystemMetrics(SM_CXSCREEN);