glbind icon indicating copy to clipboard operation
glbind copied to clipboard

Single file OpenGL API loader.

Results 2 glbind issues
Sort by recently updated
recently updated
newest added

Since glbOpenAndReadFileWithExtraData uses "rb" mode to open files, on Windows they will retain their CR (\r). https://github.com/mackron/glbind/blob/bb63d026302e777136af2ab3fedb750346d13135/source/glbind_build.cpp#L140 This causes a problem, because despite tinyxml2 also opening the (.xml) file in...

CR's from the template file need to also be stripped, since tinyxml2 strips them and we use their parser. Then, when writing back the file, use text mode (not binary).