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;