Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

Commit

Permalink
Fixed zero-size on Windows restore
Browse files Browse the repository at this point in the history
  • Loading branch information
Apoorva Joshi committed Dec 31, 2015
1 parent 5e893b9 commit 579285a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/win32_papaya.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 579285a

Please sign in to comment.