ppfd->cDepthBits = 24;
ppfd->cStencilBits = 8;
- ppfd->cAuxBuffers = fghNumberOfAuxBuffersRequested();
+ ppfd->cAuxBuffers = (BYTE) fghNumberOfAuxBuffersRequested();
ppfd->iLayerType = layer_type;
ppfd->bReserved = 0;
ppfd->dwLayerMask = 0;
WNDCLASS wc;
DWORD flags = 0;
DWORD exFlags = 0;
- ATOM atom;
+ BOOL atom;
/* Grab the window class we have registered on glutInit(): */
atom = GetClassInfo( fgDisplay.pDisplay.Instance, _T("FREEGLUT"), &wc );
free(window->State.pWState.IconTitle);
}
+/*
+ * Hide's specified window. For windows, currently only used
+ * to immediately hide menu windows...
+ */
+void fgPlatformHideWindow( SFG_Window* window )
+{
+ ShowWindow(window->Window.Handle, SW_HIDE);
+}
+
/*
* Set the current window's title