I'm using MinGW 4.8 32bit on Windows 7 with a nVidia GeForce GTX 680 and the latest drivers.
I commented the music part out, but that shouldn't make any difference.
This code should give you a completely white window:
#include <SFML/Graphics.hpp>
int main() {
int windowWidth = 800;
int windowHeight = 600;
sf::VertexArray vertices(sf::PrimitiveType::Points);
for (int y = 0; y <= windowHeight; ++y) {
for (int x = 0; x <= windowWidth; ++x) {
vertices.append(sf::Vertex(sf::Vector2f(x, y), sf::Color::White));
}
}
sf::RenderWindow window(sf::VideoMode(windowWidth, windowHeight), "Test", sf::Style::Close);
window.setVerticalSyncEnabled(true);
while (window.isOpen()) {
sf::Event event;
while (window.pollEvent(event)) {
if (event.type == sf::Event::Closed) {
window.close();
}
}
window.clear();
window.draw(vertices);
window.display();
}
return 0;
}