Line | |
---|
1 | /* $Id: glut_warp.c,v 1.2 2000-02-09 08:46:19 jeroen Exp $ */
|
---|
2 | /* Copyright (c) Mark J. Kilgard, 1996, 1997. */
|
---|
3 |
|
---|
4 | /* This program is freely distributable without licensing fees
|
---|
5 | and is provided without guarantee or warrantee expressed or
|
---|
6 | implied. This program is -not- in the public domain. */
|
---|
7 |
|
---|
8 | #include <stdlib.h>
|
---|
9 | #include <stdarg.h>
|
---|
10 | #include <stdio.h>
|
---|
11 |
|
---|
12 | #include "glutint.h"
|
---|
13 |
|
---|
14 | /* CENTRY */
|
---|
15 | void APIENTRY
|
---|
16 | glutWarpPointer(int x, int y)
|
---|
17 | {
|
---|
18 | XWarpPointer(__glutDisplay, None, __glutCurrentWindow->win,
|
---|
19 | 0, 0, 0, 0, x, y);
|
---|
20 | XFlush(__glutDisplay);
|
---|
21 | }
|
---|
22 |
|
---|
23 | /* ENDCENTRY */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.