don't export CreateGraphicsWindow
This commit is contained in:
@@ -231,7 +231,7 @@ static int GetWindowStyle( bool bWindowed )
|
|||||||
return WS_POPUP;
|
return WS_POPUP;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GraphicsWindow::CreateGraphicsWindow( const VideoModeParams &p )
|
static void CreateGraphicsWindow( const VideoModeParams &p )
|
||||||
{
|
{
|
||||||
int iWindowStyle = GetWindowStyle( p.windowed );
|
int iWindowStyle = GetWindowStyle( p.windowed );
|
||||||
|
|
||||||
@@ -251,7 +251,7 @@ void GraphicsWindow::CreateGraphicsWindow( const VideoModeParams &p )
|
|||||||
SetForegroundWindow( hWnd );
|
SetForegroundWindow( hWnd );
|
||||||
g_bRecreatingVideoMode = false;
|
g_bRecreatingVideoMode = false;
|
||||||
|
|
||||||
DestroyGraphicsWindow();
|
GraphicsWindow::DestroyGraphicsWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
g_hWndMain = hWnd;
|
g_hWndMain = hWnd;
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ namespace GraphicsWindow
|
|||||||
|
|
||||||
void SetVideoModeParams( const VideoModeParams &p );
|
void SetVideoModeParams( const VideoModeParams &p );
|
||||||
CString SetScreenMode( const VideoModeParams &p );
|
CString SetScreenMode( const VideoModeParams &p );
|
||||||
void CreateGraphicsWindow( const VideoModeParams &p );
|
|
||||||
void DestroyGraphicsWindow();
|
void DestroyGraphicsWindow();
|
||||||
void ConfigureGraphicsWindow( const VideoModeParams &p, bool bForceRecreateWindow = false );
|
void ConfigureGraphicsWindow( const VideoModeParams &p, bool bForceRecreateWindow = false );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user