diff options
-rw-r--r-- | video/out/opengl/context.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/video/out/opengl/context.c b/video/out/opengl/context.c index 59a7eda31c..a946186feb 100644 --- a/video/out/opengl/context.c +++ b/video/out/opengl/context.c @@ -23,6 +23,15 @@ // 0-terminated list of desktop GL versions a backend should try to // initialize. Each entry is the minimum required version. const int mpgl_min_required_gl_versions[] = { + /* + * Nvidia drivers will not provide the highest supported version + * when 320 core is requested. Instead, it just returns 3.2. This + * would be bad, as we actually want compute shaders that require + * 4.2, so we have to request a sufficiently high version. We use + * 440 to maximise driver compatibility as we don't need anything + * from newer versions. + */ + 440, 320, 210, 0 |