Ubuntu Open GL Version


#1

Hey Guy’s,

I have a Problem with the Open Gl version.
When i run the program and start the gameloop it closed with this message :

Warning: The created OpenGL context does not fully meet the settings that were    requested

Requested: version = 1.1 ; depth bits = 0 ; stencil bits = 0 ; AA level = 0 ; core = false ; debug = false ; sRGB = true
Created: version = 3.0 ; depth bits = 0 ; stencil bits = 0 ; AA level = 0 ; core = false ; debug = false ; sRGB = false
Speicherzugriffsfehler (Speicherabzug geschrieben)

Now I dont know wher I can set sRGB =1 or Set the Requested version = 3.0.


#2

SFML generates that message if the context doesn’t have all of the requested features. This doesn’t necessarily indicate a problem; the application should be checking the features which the context actually supports. Particularly as the application is only requesting OpenGL 1.1 but sRGB framebuffers weren’t added until 3.0 (and even then, support for sRGB framebuffers doesn’t imply that the hardware framebuffer is sRGB-capable, as that’s up to the windowing system).

You can’t control what the OpenGL implementation provides. If the mismatch actually causes problems, you’ll need to take that up with the application’s developer.