Skip to content

Commit

Permalink
xrCore: fix xr_token size, game now playable!
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Sep 22, 2018
1 parent 5504fe1 commit 9efb872
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xrCore/xr_token.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#pragma pack(push, 1)
struct XRCORE_API xr_token
{
xr_token(): name(nullptr), id(-1) {}
Expand All @@ -8,6 +9,7 @@ struct XRCORE_API xr_token
pcstr name;
int id;
};
#pragma pack(pop)

XRCORE_API pcstr get_token_name(const xr_token* tokens, int key);
XRCORE_API int get_token_id(const xr_token* tokens, pcstr key);

0 comments on commit 9efb872

Please sign in to comment.