Skip to content

Instantly share code, notes, and snippets.

@tiagovignatti
Created February 28, 2014 14:28
Show Gist options
  • Save tiagovignatti/9271989 to your computer and use it in GitHub Desktop.
Save tiagovignatti/9271989 to your computer and use it in GitHub Desktop.
chromium: take khronos precedence over mesa
commit 50b3a5c210868f3d4cd3bd98c1d31d1f2f633cf9
Author: Tiago Vignatti <[email protected]>
Date: Fri Feb 28 16:15:00 2014 +0200
Prefer Khronos EGL headers instead Mesa for all OS
This patch change the order that gl target reads Mesa headers, giving
precedence to third_party/khronos over third_party/mesa/src/include.
BUG=266310
TEST=locally on Linux only
---
ui/gl/gl.gyp | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui/gl/gl.gyp b/ui/gl/gl.gyp
index 527c5c4..2ec6d76 100644
--- a/ui/gl/gl.gyp
+++ b/ui/gl/gl.gyp
@@ -29,6 +29,7 @@
],
'include_dirs': [
'<(DEPTH)/third_party/swiftshader/include',
+ '<(DEPTH)/third_party/khronos',
'<(DEPTH)/third_party/mesa/src/include',
'<(gl_binding_output_dir)',
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment