Fix bluegl-gen.py

The comment about MSVC was not properly escaping backslash
sequences, eating some of the comment and generating an
interpreter error on \u.
This commit is contained in:
Romain Guy
2022-07-31 13:27:26 -07:00
parent 47d58aa484
commit b9b4b7c64d
9 changed files with 97009 additions and 97009 deletions
+2 -2
View File
@@ -57,8 +57,8 @@ def generateHeader(api, functions, include_dir, output_dir):
# special case for GL_GLEXT_PROTOTYPES
if 'GL_GLEXT_PROTOTYPES' in defines:
headers += '''
// MSVC includes .../Windows Kits\10\Include\10.0.17763.0\um\GL/gl.h, with gl APIs conflicting with
// bluegl\include\GL/glcorearb.h, causing errors for OpenGL APIs such as:
// MSVC includes .../Windows Kits\\10\\Include\\10.0.17763.0\\um\GL/gl.h, with gl APIs conflicting with
// bluegl\\include\\GL/glcorearb.h, causing errors for OpenGL APIs such as:
// error C2375: 'glBindTexture': redefinition; different linkage
#ifndef FILAMENT_PLATFORM_WGL
#define GL_GLEXT_PROTOTYPES 1
+1 -1
View File
@@ -23,7 +23,7 @@
#define TNT_FILAMENT_BLUEGL__H
// MSVC includes .../Windows Kits\Include.0.17763.0\um\GL/gl.h, with gl APIs conflicting with
// MSVC includes .../Windows Kits\10\Include\10.0.17763.0\um\GL/gl.h, with gl APIs conflicting with
// bluegl\include\GL/glcorearb.h, causing errors for OpenGL APIs such as:
// error C2375: 'glBindTexture': redefinition; different linkage
#ifndef FILAMENT_PLATFORM_WGL
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff