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

This commit is contained in:
laurentgom 2009-03-12 21:02:40 +00:00
parent 3b1abf635e
commit f00e0ef635
2 changed files with 1 additions and 4 deletions

View File

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

View File

@ -659,8 +659,6 @@ bool WindowImplX11::CreateContext(const VideoMode& Mode, XVisualInfo& ChosenVisu
glXGetConfig(ourDisplay, &Visuals[i], GLX_SAMPLE_BUFFERS_ARB, &MultiSampling);
glXGetConfig(ourDisplay, &Visuals[i], GLX_SAMPLES_ARB, &Samples);
std::cout << "Red = " << Red << " Green = " << Green << " Blue = " << Blue << std::endl;
// First check the mandatory parameters
if ((RGBA == 0) || (DoubleBuffer == 0))
continue;