Return a const reference rather than a copy.
This commit is contained in:
@@ -281,9 +281,7 @@ void LowLevelWindow_Win32::Update()
|
||||
|
||||
VideoModeParams LowLevelWindow_Win32::GetActualVideoModeParams() const
|
||||
{
|
||||
VideoModeParams p;
|
||||
GraphicsWindow::GetParams( p );
|
||||
return p;
|
||||
return GraphcsWindow::GetParams();
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user