mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-10 16:28:17 +03:00
Remove global HINSTANCE
This commit is contained in:
@@ -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);
|
||||
|
||||
// ウィンドウ表示
|
||||
|
||||
Reference in New Issue
Block a user