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:
parent
b2c751d0b2
commit
3b1abf635e
3 changed files with 22 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue