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:
rkrolib 2003-10-13 22:36:27 +00:00
parent 231ad89777
commit 6e00dab2da
2 changed files with 1 additions and 14 deletions

View File

@ -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 -------------------------------------------------- */
/* /*

View File

@ -55,9 +55,7 @@ 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;