Removed the obsolete hack (or very ill-conceived dream), fgDisplayCursor().
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@230 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
231ad89777
commit
6e00dab2da
@ -40,9 +40,6 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* TODO BEFORE THE STABLE RELEASE:
|
* TODO BEFORE THE STABLE RELEASE:
|
||||||
*
|
|
||||||
* fgDisplayCursor() -- this waits for better times
|
|
||||||
* XXX Just delete fgDisplayCursor?
|
|
||||||
* glutSetCursor() -- Win32 mappings are incomplete
|
* glutSetCursor() -- Win32 mappings are incomplete
|
||||||
* X mappings are nearly right.
|
* X mappings are nearly right.
|
||||||
*
|
*
|
||||||
@ -53,14 +50,6 @@
|
|||||||
|
|
||||||
/* -- INTERNAL FUNCTIONS --------------------------------------------------- */
|
/* -- INTERNAL FUNCTIONS --------------------------------------------------- */
|
||||||
|
|
||||||
/*
|
|
||||||
* Display the mouse cursor using OpenGL calls
|
|
||||||
*/
|
|
||||||
void fgDisplayCursor( void )
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* -- INTERFACE FUNCTIONS -------------------------------------------------- */
|
/* -- INTERFACE FUNCTIONS -------------------------------------------------- */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -55,11 +55,9 @@ void FGAPIENTRY glutSwapBuffers( void )
|
|||||||
freeglut_assert_ready;
|
freeglut_assert_ready;
|
||||||
freeglut_assert_window;
|
freeglut_assert_window;
|
||||||
|
|
||||||
fgDisplayCursor();
|
|
||||||
glFlush();
|
glFlush();
|
||||||
|
|
||||||
if ( ! fgStructure.Window->Window.DoubleBuffered )
|
if ( ! fgStructure.Window->Window.DoubleBuffered )
|
||||||
return ;
|
return;
|
||||||
|
|
||||||
#if TARGET_HOST_UNIX_X11
|
#if TARGET_HOST_UNIX_X11
|
||||||
glXSwapBuffers( fgDisplay.Display, fgStructure.Window->Window.Handle );
|
glXSwapBuffers( fgDisplay.Display, fgStructure.Window->Window.Handle );
|
||||||
|
Reference in New Issue
Block a user