From ffdf886a0a14609eb8375c580ca5457f77f5afc3 Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Fri, 9 Nov 2018 15:54:07 -0600 Subject: [PATCH] GTK+: GL: Use PBOs by default, disable on GL < 1.5 --- gtk/src/gtk_display_driver_opengl.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/src/gtk_display_driver_opengl.cpp b/gtk/src/gtk_display_driver_opengl.cpp index 14d56a57..33369b23 100644 --- a/gtk/src/gtk_display_driver_opengl.cpp +++ b/gtk/src/gtk_display_driver_opengl.cpp @@ -395,7 +395,10 @@ int S9xOpenGLDisplayDriver::opengl_defaults () if (config->use_pbos) { - using_pbos = true; + if (version >= 15) + using_pbos = true; + else + config->use_pbos = false; } using_glsl_shaders = false;