Commit 795ab719 by Brandon Jones Committed by Commit Bot

Use os.path.join instead of slashes

Minor change to replace some forward slashes in a file path with os.path.join to ensure cross platform compatibility. Bug: angleproject:1395 Change-Id: Ib6b64a9f0b16ef69c9f973a682c329c157ee5622 Reviewed-on: https://chromium-review.googlesource.com/1072867Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 450420b2
...@@ -589,7 +589,7 @@ def write_glext_explicit_context_inc(version, ptrs, protos): ...@@ -589,7 +589,7 @@ def write_glext_explicit_context_inc(version, ptrs, protos):
function_pointers = ptrs, function_pointers = ptrs,
function_prototypes = protos) function_prototypes = protos)
path = path_to("../include/GLES{}".format(folder_version), path = os.path.join(script_relative(".."), "include", "GLES{}".format(folder_version),
"gl{}ext_explicit_context_autogen.inc".format(version)) "gl{}ext_explicit_context_autogen.inc".format(version))
with open(path, "w") as out: with open(path, "w") as out:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment