git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1046 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
3b1abf635e
commit
f00e0ef635
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user