Window w;\r
\r
XTranslateCoordinates(\r
- fgDisplay.Display,\r
+ fgDisplay.pDisplay.Display,\r
window->Window.Handle,\r
- fgDisplay.RootWindow,\r
+ fgDisplay.pDisplay.RootWindow,\r
0, 0, &wx, &wy, &w);\r
\r
*x = fgState.GameModeSize.X + wx;\r
return fgCreateMenu( callback )->ID;\r
}\r
\r
-#if TARGET_HOST_MS_WINDOWS\r
-int FGAPIENTRY __glutCreateMenuWithExit( void(* callback)( int ), void (__cdecl *exit_function)(int) )\r
-{\r
- __glutExitFunc = exit_function;\r
- return glutCreateMenu( callback );\r
-}\r
-#endif\r
-\r
/*\r
* Destroys a menu object, removing all references to it\r
*/\r