X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fmswin%2Ffg_window_mswin.c;h=ff474045e2e3db84262aae122a5843e49ea96730;hb=450b0d2bd03f4d7721fa2fe5f54f38d787accb06;hp=b09c008c67053aaa79df434fa9ae2485e5e5d221;hpb=88ff42cfa5f0e82e980aea7ba663a0bd148cfa83;p=freeglut diff --git a/src/mswin/fg_window_mswin.c b/src/mswin/fg_window_mswin.c index b09c008..ff47404 100644 --- a/src/mswin/fg_window_mswin.c +++ b/src/mswin/fg_window_mswin.c @@ -371,16 +371,6 @@ void fgPlatformSetWindow ( SFG_Window *window ) } -void fghPlatformGetMousePos(SFG_XYUse *mouse_pos) -{ - POINT pos; - GetCursorPos(&pos); - - mouse_pos->X = pos.x; - mouse_pos->Y = pos.y; - mouse_pos->Use = GL_TRUE; -} - /* Returns the width of the window borders based on the window's style. */ void fghGetBorderWidth(const DWORD windowStyle, int* xBorderWidth, int* yBorderWidth)