From f00e0ef6355649b02b0a0aa153d34b154c1efa46 Mon Sep 17 00:00:00 2001 From: laurentgom Date: Thu, 12 Mar 2009 21:02:40 +0000 Subject: [PATCH] git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1046 4e206d99-4929-0410-ac5d-dfc041789085 --- samples/window/Window.cpp | 3 +-- src/SFML/Window/Linux/WindowImplX11.cpp | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/samples/window/Window.cpp b/samples/window/Window.cpp index af9efd30a..0f457413b 100644 --- a/samples/window/Window.cpp +++ b/samples/window/Window.cpp @@ -5,7 +5,6 @@ #include #include -#include //////////////////////////////////////////////////////////// /// 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; diff --git a/src/SFML/Window/Linux/WindowImplX11.cpp b/src/SFML/Window/Linux/WindowImplX11.cpp index a01c0b28a..e63763d27 100644 --- a/src/SFML/Window/Linux/WindowImplX11.cpp +++ b/src/SFML/Window/Linux/WindowImplX11.cpp @@ -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;