Return a const reference rather than a copy.

This commit is contained in:
Steve Checkoway
2006-01-19 08:20:41 +00:00
parent 80532a1ef8
commit a123e5bc76
10 changed files with 12 additions and 14 deletions
@@ -468,9 +468,9 @@ HDC GraphicsWindow::GetHDC()
return g_HDC;
}
void GraphicsWindow::GetParams( VideoModeParams &paramsOut )
const VideoModeParams &GraphicsWindow::GetParams()
{
paramsOut = g_CurrentParams;
return g_CurrentParams;
}
void GraphicsWindow::Update()