diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2010-02-25 16:19:20 -0500 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-07-11 20:05:26 +0100 |
commit | 0b73ee99ad665c83417cfc8d108f5b8a2ae13c89 (patch) | |
tree | bc3b161a9cc16f5fd055ac9670ee45eec28c8de0 /src/glut/os2/glut_warp.cpp | |
parent | cc3f26d902b61848ad4c2f2c6714ac3d1595dd9f (diff) | |
download | glut-0b73ee99ad665c83417cfc8d108f5b8a2ae13c89.tar.gz |
Drop unused glut subdirectories
Diffstat (limited to 'src/glut/os2/glut_warp.cpp')
-rw-r--r-- | src/glut/os2/glut_warp.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/glut/os2/glut_warp.cpp b/src/glut/os2/glut_warp.cpp deleted file mode 100644 index 4ef6f7b..0000000 --- a/src/glut/os2/glut_warp.cpp +++ /dev/null @@ -1,29 +0,0 @@ - -/* Copyright (c) Mark J. Kilgard, 1996, 1997. */ - -/* This program is freely distributable without licensing fees - and is provided without guarantee or warrantee expressed or - implied. This program is -not- in the public domain. */ - -#include <stdlib.h> -#include <stdarg.h> -#include <stdio.h> - -#include "glutint.h" - -/* CENTRY */ -void GLUTAPIENTRY -glutWarpPointer(int x, int y) -{ -// XWarpPointer(__glutDisplay, None, __glutCurrentWindow->win, -// 0, 0, 0, 0, x, y); - POINTL point; - point.x = x; - point.y = y; - WinMapWindowPoints(__glutCurrentWindow->win,HWND_DESKTOP,&point,1); - WinSetPointerPos(HWND_DESKTOP, point.x, point.y); - - XFlush(__glutDisplay); -} - -/* ENDCENTRY */ |