問題のソース
#include "DxLib.h"
int WINAPI WinMain(HINSTANCE hInst,
HINSTANCE hPInst, LPSTR pCmdLine, int showCmd){
ChangeWindowMode(TRUE);//ウィンドウモード
/*DXライブラリ初期化*/
if (DxLib_Init() == -1)return -1;

SetDrawScreen(DX_SCREEN_BACK);//裏画面に描画する設定
int handle = LoadGraph("test.png");//画像読み込み

while (true){
if (ClearDrawScreen() != 0) break;//画面消去。×が押されたら終了
/*処理開始*/
DrawGraph(0, 0, handle, TRUE);
/*処理終了*/
ScreenFlip();//裏画面を表画面に表示
if (ProcessMessage() != 0) break;//×が押されたら終了
}


DxLib_End(); // DXライブラリ使用の終了処理
return 0; // ソフトの終了
}