mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 06:49:00 +08:00
6028fd5e1a
* update opengl and install all headers * improve angle * update egl-registry * fix osx regression * update baseline. * fix uwp regressions * fix osx and linux regression * add encoding patch * bump glad control * rechdeck gl visibility from native build * removed unnecessary commented code * add GL_VISIBILITY to the exported targets Co-authored-by: dan-shaw <51385773+dan-shaw@users.noreply.github.com>
14 lines
675 B
Diff
14 lines
675 B
Diff
diff --git a/glad/__main__.py b/glad/__main__.py
|
|
index e7c0544a5..1e10dcc60 100644
|
|
--- a/glad/__main__.py
|
|
+++ b/glad/__main__.py
|
|
@@ -32,7 +32,7 @@ def main():
|
|
if reproducible:
|
|
logger.info('reproducible build, using packaged specification: \'%s.xml\'', value)
|
|
try:
|
|
- return spec_cls.from_file(glad.files.open_local(value + '.xml'))
|
|
+ return spec_cls.from_file(glad.files.open_local(value + '.xml', encoding='utf-8-sig'))
|
|
except IOError:
|
|
raise ValueError('unable to open reproducible copy of {}.xml, '
|
|
'try dropping --reproducible'.format(value))
|