mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
[gl] Work aground clang not liking variable structs with followers
Really, it's an ugly hack made uglier, but I don't feel like dealing with it right now.
This commit is contained in:
parent
d109571994
commit
8f6ee4f5ac
1 changed files with 4 additions and 2 deletions
|
@ -95,8 +95,10 @@ typedef struct {
|
|||
typedef struct cachepic_s {
|
||||
char name[MAX_QPATH];
|
||||
qboolean dirty;
|
||||
qpic_t pic;
|
||||
byte padding[32]; // for appended glpic
|
||||
union {
|
||||
qpic_t pic;
|
||||
byte padding[sizeof (qpic_t) + 32];// for appended glpic FIXME
|
||||
};
|
||||
} cachepic_t;
|
||||
|
||||
#define MAX_CACHED_PICS 128
|
||||
|
|
Loading…
Reference in a new issue