oops, fixed remaining test settings

This commit is contained in:
Anselme 2016-12-19 15:14:03 +01:00
parent 9cfc6d581a
commit f7c2609da4
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ void Engine::createWindow(std::string title,
{
m_window = new sf::Window(sf::VideoMode(w, h),
title,
isWindowed ? sf::Style::Close : sf::Style::None,
isWindowed ? sf::Style::Close : sf::Style::Fullscreen,
sf::ContextSettings(24, 8, 0, 3, 3, sf::ContextSettings::Attribute::Core));
m_window->setFramerateLimit(60);
m_input = new Input(m_window);

View File

@ -150,7 +150,7 @@ int main(int argc, char** argv){
// this creates the opengl context
// the opengl context must exist before any opengl class is used (texture, pipeline, etc..)
if(mode == FULLSCREEN_DEMO && mode == SPONZA_TEST)
if(mode == FULLSCREEN_DEMO || mode == SPONZA_TEST)
{
engine.createWindow("Sparrow Engine Testing Environment", 1920, 1080, true);
engine.toggleMouseVisibility();