aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/QuickMedia.cpp4
1 files changed, 2 insertions, 2 deletions
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::RenderWindow>(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::RenderWindow>(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");