Skip to content

Commit

Permalink
Merge pull request #238 from rgriege/remove-vla
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuhlmann authored Nov 27, 2023
2 parents b164248 + f517dcd commit ab348cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cgltf.h
Original file line number Diff line number Diff line change
Expand Up @@ -944,8 +944,8 @@ static int jsmn_parse(jsmn_parser *parser, const char *js, size_t len, jsmntok_t


#ifndef CGLTF_CONSTS
static const cgltf_size GlbHeaderSize = 12;
static const cgltf_size GlbChunkHeaderSize = 8;
#define GlbHeaderSize 12
#define GlbChunkHeaderSize 8
static const uint32_t GlbVersion = 2;
static const uint32_t GlbMagic = 0x46546C67;
static const uint32_t GlbMagicJsonChunk = 0x4E4F534A;
Expand Down
4 changes: 2 additions & 2 deletions cgltf_write.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ typedef struct {
cgltf_write_line(context, "}"); }

#ifndef CGLTF_CONSTS
static const cgltf_size GlbHeaderSize = 12;
static const cgltf_size GlbChunkHeaderSize = 8;
#define GlbHeaderSize 12
#define GlbChunkHeaderSize 8
static const uint32_t GlbVersion = 2;
static const uint32_t GlbMagic = 0x46546C67;
static const uint32_t GlbMagicJsonChunk = 0x4E4F534A;
Expand Down

0 comments on commit ab348cb

Please sign in to comment.