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, /* 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) * 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. */ * 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) ); 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 /* 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 * from fullscreen, the first call can't set a larger window than the old fullscreen
* resolution or set the window position. */ * resolution or set the window position. */
GraphicsWindow::ConfigureGraphicsWindow( p ); GraphicsWindow::CreateGraphicsWindow( p );
ResolutionChanged(); 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. /* 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 * Otherwise, some other window may have focus, and changing the video mode will
* cause that window to be resized. */ * cause that window to be resized. */
GraphicsWindow::ConfigureGraphicsWindow( p ); GraphicsWindow::CreateGraphicsWindow( p );
} else { } else {
/* We already have a window. Assume that it's pixel format has already been /* We already have a window. Assume that it's pixel format has already been
* set. */ * 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 /* If we deleted the OpenGL context above, also recreate the window. Otherwise, just
* reconfigure it. */ * reconfigure it. */
GraphicsWindow::ConfigureGraphicsWindow( p, bNewDeviceOut ); GraphicsWindow::CreateGraphicsWindow( p, bNewDeviceOut );
if( bNeedToSetPixelFormat ) 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 /* Set the final window size, set the window text and icon, and then unhide the
* window. */ * window. */
void GraphicsWindow::ConfigureGraphicsWindow( const VideoModeParams &p, bool bForceRecreateWindow ) void GraphicsWindow::CreateGraphicsWindow( const VideoModeParams &p, bool bForceRecreateWindow )
{ {
g_CurrentParams = p; g_CurrentParams = p;
@@ -16,8 +16,8 @@ namespace GraphicsWindow
void Shutdown(); void Shutdown();
CString SetScreenMode( const VideoModeParams &p ); CString SetScreenMode( const VideoModeParams &p );
void CreateGraphicsWindow( const VideoModeParams &p, bool bForceRecreateWindow = false );
void DestroyGraphicsWindow(); void DestroyGraphicsWindow();
void ConfigureGraphicsWindow( const VideoModeParams &p, bool bForceRecreateWindow = false );
void GetDisplayResolutions( DisplayResolutions &out ); void GetDisplayResolutions( DisplayResolutions &out );