git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1047 4e206d99-4929-0410-ac5d-dfc041789085

This commit is contained in:
laurentgom 2009-03-12 21:10:52 +00:00
parent f00e0ef635
commit 507fea97d9

View File

@ -45,7 +45,7 @@ void VideoModeSupport::GetSupportedVideoModes(std::vector<VideoMode>& Modes)
// First, clear array to fill
Modes.clear();
// Get the display and screen from sfWindowImplUnix
// Get the display and screen from WindowImplUnix
WindowImplX11::OpenDisplay(false);
Display* Disp = WindowImplX11::ourDisplay;
int Screen = WindowImplX11::ourScreen;
@ -73,7 +73,7 @@ void VideoModeSupport::GetSupportedVideoModes(std::vector<VideoMode>& Modes)
{
for (int j = 0; j < NbSizes; ++j)
{
// Convert to sfVideoMode
// Convert to VideoMode
VideoMode Mode(Sizes[j].width, Sizes[j].height, Depths[i]);
// Add it only if it is not already in the array
@ -108,7 +108,7 @@ VideoMode VideoModeSupport::GetDesktopVideoMode()
{
VideoMode DesktopMode;
// Get the display and screen from sfWindowImplUnix
// Get the display and screen from WindowImplUnix
WindowImplX11::OpenDisplay(false);
Display* Disp = WindowImplX11::ourDisplay;
int Screen = WindowImplX11::ourScreen;