1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 15:02:34 +02:00

Request a non zero number of stencil bits.

This commit is contained in:
Daniel Evans 2016-05-22 16:07:33 +01:00
parent 45abee6093
commit 46961f8c33

View File

@ -94,6 +94,7 @@ RWGame::RWGame(int argc, char* argv[])
sf::ContextSettings cs;
cs.depthBits = 32;
cs.stencilBits = 8;
window.create(sf::VideoMode(w, h), "", style, cs);
window.setMouseCursorVisible(false);