summaryrefslogtreecommitdiffstats
path: root/app/gfx/gl/gl_implementation_mac.cc
diff options
context:
space:
mode:
Diffstat (limited to 'app/gfx/gl/gl_implementation_mac.cc')
-rw-r--r--app/gfx/gl/gl_implementation_mac.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/gfx/gl/gl_implementation_mac.cc b/app/gfx/gl/gl_implementation_mac.cc
index d82c2e0..8776ab0 100644
--- a/app/gfx/gl/gl_implementation_mac.cc
+++ b/app/gfx/gl/gl_implementation_mac.cc
@@ -25,13 +25,13 @@ bool InitializeGLBindings(GLImplementation implementation) {
switch (implementation) {
case kGLImplementationOSMesaGL: {
- FilePath exe_path;
- if (!PathService::Get(base::DIR_EXE, &exe_path))
+ FilePath module_path;
+ if (!PathService::Get(base::DIR_MODULE, &module_path))
return false;
// When using OSMesa, just use OSMesaGetProcAddress to find entry points.
base::NativeLibrary library = base::LoadNativeLibrary(
- exe_path.Append("libosmesa.dylib"));
+ module_path.Append("libosmesa.dylib"));
if (!library) {
LOG(INFO) << "libosmesa.so not found";
return false;