Implemented proper video mode depth detection on Linux

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1045 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
laurentgom 2009-03-12 21:01:50 +00:00
parent b2c751d0b2
commit 3b1abf635e
3 changed files with 22 additions and 10 deletions

View file

@ -5,6 +5,7 @@
#include <SFML/Window.hpp>
#include <fstream>
#include <iostream>
////////////////////////////////////////////////////////////
/// Entry point of application
@ -15,7 +16,7 @@
int main()
{
// Create the main window
sf::Window App(sf::VideoMode(640, 480, 32), "SFML Window");
sf::Window App(sf::VideoMode(640, 480, 1), "SFML Window");
// Create a clock for measuring the time elapsed
sf::Clock Clock;