Disable OpenGL ES 3.0 in Chromium builds.
Change-Id: I6077e9f439dc20217e9e7fb6c6f98f969e7d0b51
Reviewed-on: https://swiftshader-review.googlesource.com/8790
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
diff --git a/BUILD.gn b/BUILD.gn
index d646afe..57cbf33 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -23,6 +23,7 @@
"/EHsc",
"/nologo",
"/Gd", # Default calling convention
+ "/DSTRICT_CONFORMANCE", # Disables OpenGL ES 3.0
]
if (is_debug) {
@@ -38,6 +39,7 @@
"-fno-operator-names",
"-D__STDC_CONSTANT_MACROS",
"-D__STDC_LIMIT_MACROS",
+ "-DSTRICT_CONFORMANCE", # Disables OpenGL ES 3.0
]
if (is_debug) {