From 2278d52b59e9818f08bd73ec6583a1589d9512f2 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 31 Oct 2020 22:04:55 +0100 Subject: Remove explicit opengl version --- src/QuickMedia.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 0347cbb..dc3d167 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -306,7 +306,7 @@ namespace QuickMedia { Program::Program() : disp(nullptr), - window(sf::VideoMode(1280, 720), "QuickMedia", sf::Style::Default, sf::ContextSettings(0, 0, 0, 3, 3)), + window(sf::VideoMode(1280, 720), "QuickMedia", sf::Style::Default), window_size(1280, 720), current_page(PageType::EXIT), image_index(0) @@ -1834,7 +1834,7 @@ namespace QuickMedia { if(!related_media_window) { related_media_window_size.x = window_size.x * RELATED_MEDIA_WINDOW_WIDTH; related_media_window_size.y = window_size.y; - related_media_window = std::make_unique(sf::VideoMode(related_media_window_size.x, related_media_window_size.y), "", 0, sf::ContextSettings(0, 0, 0, 3, 3)); + related_media_window = std::make_unique(sf::VideoMode(related_media_window_size.x, related_media_window_size.y), "", 0); related_media_window->setFramerateLimit(0); if(!enable_vsync(disp, related_media_window->getSystemHandle())) { fprintf(stderr, "Failed to enable vsync, fallback to frame limiting\n"); -- cgit v1.2.3