#define G_LOG_DOMAIN "freeglut-callbacks"
#include "../include/GL/freeglut.h"
-#include "../include/GL/freeglut_internal.h"
+#include "freeglut_internal.h"
/* -- INTERFACE FUNCTIONS -------------------------------------------------- */
#define G_LOG_DOMAIN "freeglut-cursor"
#include "../include/GL/freeglut.h"
-#include "../include/GL/freeglut_internal.h"
+#include "freeglut_internal.h"
#if TARGET_HOST_UNIX_X11
#include <X11/cursorfont.h>
#define G_LOG_DOMAIN "freeglut-display"
#include "../include/GL/freeglut.h"
-#include "../include/GL/freeglut_internal.h"
+#include "freeglut_internal.h"
/* -- INTERFACE FUNCTIONS -------------------------------------------------- */
#endif
#include "../include/GL/freeglut.h"
-#include "../include/GL/freeglut_internal.h"
+#include "freeglut_internal.h"
/*
* Following fonts are defined in this file:
#define G_LOG_DOMAIN "freeglut-gamemode"
#include "../include/GL/freeglut.h"
-#include "../include/GL/freeglut_internal.h"
+#include "freeglut_internal.h"
/*
* TODO BEFORE THE STABLE RELEASE:
#define G_LOG_DOMAIN "freeglut-geometry"
#include "../include/GL/freeglut.h"
-#include "../include/GL/freeglut_internal.h"
+#include "freeglut_internal.h"
/*
* TODO BEFORE THE STABLE RELEASE:
#define G_LOG_DOMAIN "freeglut-init"
#include "../include/GL/freeglut.h"
-#include "../include/GL/freeglut_internal.h"
+#include "freeglut_internal.h"
/*
* TODO BEFORE THE STABLE RELEASE:
* This is harmless under Win32, so let's let it stay here...
*/
#if TARGET_HOST_WIN32
- if ( !getenv( "DISPLAY" ) )
- displayName = strdup( "" );
+ if ( !getenv ( "DISPLAY" ) )
+ displayName = strdup ( "" ) ;
else
#endif
displayName = strdup( getenv( "DISPLAY" ) );
/*
* Sets the default display mode for all new windows
*/
-void FGAPIENTRY glutInitDisplayMode( int displayMode )
+void FGAPIENTRY glutInitDisplayMode( unsigned int displayMode )
{
/*
* We will make use of this value when creating a new OpenGL context...
* Grab the value string that must follow the comparison operator...
*/
if( comparison != FG_NONE && i < (gint) strlen( scanner->value.v_identifier ) )
- valueString = g_strdup( scanner->value.v_identifier + i );
+ valueString = strdup( scanner->value.v_identifier + i );
/*
* If there was a value string, convert it to integer...
10, 12
};
-void FGAPIENTRY glutInitDisplayString( char* displayMode )
+void FGAPIENTRY glutInitDisplayString( const char* displayMode )
{
int glut_state_flag = 0 ;
/*
#define G_LOG_DOMAIN "freeglut-joystick"
#include "../include/GL/freeglut.h"
-#include "../include/GL/freeglut_internal.h"
+#include "freeglut_internal.h"
/*
* PWO: I don't like it at all. It's a mess. Could it be cleared?
#endif
free ( fgJoystick ) ;
- fgJoystick = NULL ;
+ fgJoystick = NULL ; // show joystick has been deinitialized
}
/*
#define G_LOG_DOMAIN "freeglut-misc"
#include "../include/GL/freeglut.h"
-#include "../include/GL/freeglut_internal.h"
+#include "freeglut_internal.h"
/*
* TODO BEFORE THE STABLE RELEASE:
#define G_LOG_DOMAIN "freeglut-overlay"
#include "../include/GL/freeglut.h"
-#include "../include/GL/freeglut_internal.h"
+#include "freeglut_internal.h"
/*
* NOTE: functions declared in this file probably will not be implemented.
/* This file has been automatically generated by the genstroke utility. */
-#include "../include/GL/freeglut_internal.h"
+#include "freeglut_internal.h"
#ifdef TARGET_HOST_WIN32
#pragma warning ( once:4305 )
#endif
/* This file has been automatically generated by the genstroke utility. */
-#include "../include/GL/freeglut_internal.h"
+#include "freeglut_internal.h"
#ifdef TARGET_HOST_WIN32
#pragma warning ( once:4305 )
#endif
#define G_LOG_DOMAIN "freeglut-teapot"
#include "../include/GL/freeglut.h"
-#include "../include/GL/freeglut_internal.h"
+#include "freeglut_internal.h"
/* -- PRIVATE FUNCTIONS ---------------------------------------------------- */
#define G_LOG_DOMAIN "freeglut-videoresize"
#include "../include/GL/freeglut.h"
-#include "../include/GL/freeglut_internal.h"
+#include "freeglut_internal.h"
/*
* NOTE: functions declared in this file probably will not be implemented.