Remove global HINSTANCE

This commit is contained in:
kichikuou
2016-04-02 21:31:28 +09:00
parent f51f224fe4
commit e988478d4d
5 changed files with 6 additions and 9 deletions
-3
View File
@@ -2,13 +2,10 @@
#include "sys/nact.h"
_TCHAR g_root[_MAX_PATH];
HINSTANCE g_hinst;
SDL_Window* g_window;
int main(int argc, char *argv[])
{
g_hinst = (HINSTANCE)::GetModuleHandle(NULL);
SDL_Init(SDL_INIT_VIDEO);
// ウィンドウ表示