X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fpc%2Fminiglut.c;h=1919b6428ec071e5a0156f0225c38efac3e84e69;hb=6bdfcf4ad3daddcd9d689deb15798403c89ce42b;hp=4f774082dacc083b7b2f5f76bcf0bedc3db3bd15;hpb=820efe0e275409090089fec7c2a7d2997f04c6d7;p=andemo diff --git a/src/pc/miniglut.c b/src/pc/miniglut.c index 4f77408..1919b64 100644 --- a/src/pc/miniglut.c +++ b/src/pc/miniglut.c @@ -49,7 +49,7 @@ static int have_netwm_fullscr(void); #include #define BUILD_WIN32 -static HRESULT CALLBACK handle_message(HWND win, unsigned int msg, WPARAM wparam, LPARAM lparam); +static LRESULT CALLBACK handle_message(HWND win, unsigned int msg, WPARAM wparam, LPARAM lparam); static HINSTANCE hinst; static HWND win; @@ -1525,7 +1525,7 @@ static void create_window(const char *title) reshape_pending = 1; } -static HRESULT CALLBACK handle_message(HWND win, unsigned int msg, WPARAM wparam, LPARAM lparam) +static LRESULT CALLBACK handle_message(HWND win, unsigned int msg, WPARAM wparam, LPARAM lparam) { static int mouse_x, mouse_y; int x, y, key;