Return a const reference rather than a copy.
This commit is contained in:
@@ -21,7 +21,7 @@ namespace GraphicsWindow
|
||||
|
||||
void GetDisplayResolutions( DisplayResolutions &out );
|
||||
|
||||
void GetParams( VideoModeParams ¶msOut );
|
||||
const VideoModeParams &GetParams();
|
||||
HDC GetHDC();
|
||||
void Update();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user