Android: implement fgPlatformDeinitialiseInputDevices
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1288 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
6ba33936f9
commit
c930677a27
@ -37,3 +37,13 @@ void fgPlatformCloseDisplay()
|
|||||||
{
|
{
|
||||||
fghPlatformCloseDisplayEGL();
|
fghPlatformCloseDisplayEGL();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Close joystick and serial input devices
|
||||||
|
*/
|
||||||
|
void fgPlatformDeinitialiseInputDevices ( void )
|
||||||
|
{
|
||||||
|
fghCloseInputDevices ();
|
||||||
|
fgState.JoysticksInitialised = GL_FALSE;
|
||||||
|
fgState.InputDevsInitialised = GL_FALSE;
|
||||||
|
}
|
||||||
|
@ -401,8 +401,3 @@ void fgPlatformMainLoopPreliminaryWork ( void )
|
|||||||
/* JNI entry points need to be bundled even when linking statically */
|
/* JNI entry points need to be bundled even when linking statically */
|
||||||
app_dummy();
|
app_dummy();
|
||||||
}
|
}
|
||||||
|
|
||||||
void fgPlatformDeinitialiseInputDevices ( void )
|
|
||||||
{
|
|
||||||
fprintf(stderr, "fgPlatformDeinitialiseInputDevices: STUB\n");
|
|
||||||
}
|
|
||||||
|
@ -32,6 +32,5 @@ extern void fgPlatformDisplayWindow(SFG_Window *window);
|
|||||||
extern unsigned long fgPlatformSystemTime(void);
|
extern unsigned long fgPlatformSystemTime(void);
|
||||||
extern void fgPlatformSleepForEvents(long msec);
|
extern void fgPlatformSleepForEvents(long msec);
|
||||||
extern void fgPlatformMainLoopPreliminaryWork(void);
|
extern void fgPlatformMainLoopPreliminaryWork(void);
|
||||||
extern void fgPlatformDeinitialiseInputDevices(void);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user