mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
linux: cefclient: Fix MESA_GL_VERSION_OVERRIDE env variable name
This commit is contained in:
committed by
Marshall Greenblatt
parent
5ea0c141b5
commit
9ecd25a93b
@@ -101,7 +101,7 @@ int RunMain(int argc, char* argv[]) {
|
|||||||
// Force the app to use OpenGL <= 3.1 when off-screen rendering is enabled.
|
// Force the app to use OpenGL <= 3.1 when off-screen rendering is enabled.
|
||||||
// TODO(cefclient): Rewrite OSRRenderer to use shaders instead of the
|
// TODO(cefclient): Rewrite OSRRenderer to use shaders instead of the
|
||||||
// fixed-function pipeline which was removed in OpenGL 3.2 (back in 2009).
|
// 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.
|
// Create the main message loop object.
|
||||||
|
Reference in New Issue
Block a user