Hi,
I am experiencing a strange problem with text rendering (sf::Text) when setting the OpenGL context to version 3.2 (or 3.3):
The text is just not there...
Setting the context to version 3.0 makes the text to be shown in the upper left corner, as expected.
So this works:
// init:
sf::ContextSettings contextSettings;
contextSettings.MajorVersion = 3;
contextSettings.MinorVersion = 0;
sf::RenderWindow SFMLMainWindow(sf::VideoMode(1280,
720), MY_WNDCLASS, iWindowStyle, contextSettings);
// later in the main loop:
SFMLMainWindow.Clear();
sf::Text Text(buf);
Text.SetPosition(10, 10);
Text.SetColor(sf::Color(255, 255, 255, 255));
SFMLMainWindow.Draw(Text);
SFMLMainWindow.Display();
but setting contextSettings.MinorVersion = 2; does not:
the context is successfully created as a 3.2 context, but there is no text output at screen position 10,10 ...
My graphics card is an NVIDIA GeForce 8600M GT with the latest drivers, so (according to the driver) it supports OpenGL 3.2 and 3.3 with all known extensions...
Any ideas how I can test if this behaviour is due to the driver?
Thanks & cheers,
jimmy