rename ConfigureGraphicsWindow -> CreateGraphicsWindow

This commit is contained in:
Glenn Maynard
2006-01-15 01:43:04 +00:00
parent 6c47215fd7
commit affaf07d35
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -506,7 +506,7 @@ CString RageDisplay_D3D::TryVideoMode( const VideoModeParams &_p, bool &bNewDevi
/* Set up and display the window before setting up D3D. If we don't do this,
* then setting up a fullscreen window (when we're not coming from windowed)
* causes all other windows on the system to be resized to the new resolution. */
GraphicsWindow::ConfigureGraphicsWindow( p );
GraphicsWindow::CreateGraphicsWindow( p );
ZeroMemory( &g_d3dpp, sizeof(g_d3dpp) );
@@ -630,7 +630,7 @@ CString RageDisplay_D3D::TryVideoMode( const VideoModeParams &_p, bool &bNewDevi
/* Call this again after changing the display mode. If we're going to a window
* from fullscreen, the first call can't set a larger window than the old fullscreen
* resolution or set the window position. */
GraphicsWindow::ConfigureGraphicsWindow( p );
GraphicsWindow::CreateGraphicsWindow( p );
ResolutionChanged();
@@ -119,7 +119,7 @@ CString LowLevelWindow_Win32::TryVideoMode( const VideoModeParams &p, bool &bNew
/* No. Always create and show the window before changing the video mode.
* Otherwise, some other window may have focus, and changing the video mode will
* cause that window to be resized. */
GraphicsWindow::ConfigureGraphicsWindow( p );
GraphicsWindow::CreateGraphicsWindow( p );
} else {
/* We already have a window. Assume that it's pixel format has already been
* set. */
@@ -182,7 +182,7 @@ CString LowLevelWindow_Win32::TryVideoMode( const VideoModeParams &p, bool &bNew
/* If we deleted the OpenGL context above, also recreate the window. Otherwise, just
* reconfigure it. */
GraphicsWindow::ConfigureGraphicsWindow( p, bNewDeviceOut );
GraphicsWindow::CreateGraphicsWindow( p, bNewDeviceOut );
if( bNeedToSetPixelFormat )
{
@@ -226,7 +226,7 @@ static int GetWindowStyle( bool bWindowed )
/* Set the final window size, set the window text and icon, and then unhide the
* window. */
void GraphicsWindow::ConfigureGraphicsWindow( const VideoModeParams &p, bool bForceRecreateWindow )
void GraphicsWindow::CreateGraphicsWindow( const VideoModeParams &p, bool bForceRecreateWindow )
{
g_CurrentParams = p;
@@ -16,8 +16,8 @@ namespace GraphicsWindow
void Shutdown();
CString SetScreenMode( const VideoModeParams &p );
void CreateGraphicsWindow( const VideoModeParams &p, bool bForceRecreateWindow = false );
void DestroyGraphicsWindow();
void ConfigureGraphicsWindow( const VideoModeParams &p, bool bForceRecreateWindow = false );
void GetDisplayResolutions( DisplayResolutions &out );