linux: cefclient: Fix MESA_GL_VERSION_OVERRIDE env variable name

This commit is contained in:
Czarek Tomczak
2022-09-05 20:56:49 +00:00
committed by Marshall Greenblatt
parent 5ea0c141b5
commit 9ecd25a93b

View File

@@ -101,7 +101,7 @@ int RunMain(int argc, char* argv[]) {
// Force the app to use OpenGL <= 3.1 when off-screen rendering is enabled.
// TODO(cefclient): Rewrite OSRRenderer to use shaders instead of the
// fixed-function pipeline which was removed in OpenGL 3.2 (back in 2009).
setenv("MESA_GL_VERSION_override", "3.1", /*overwrite=*/0);
setenv("MESA_GL_VERSION_OVERRIDE", "3.1", /*overwrite=*/0);
}
// Create the main message loop object.