mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +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 {
|
typedef struct cachepic_s {
|
||||||
char name[MAX_QPATH];
|
char name[MAX_QPATH];
|
||||||
qboolean dirty;
|
qboolean dirty;
|
||||||
qpic_t pic;
|
union {
|
||||||
byte padding[32]; // for appended glpic
|
qpic_t pic;
|
||||||
|
byte padding[sizeof (qpic_t) + 32];// for appended glpic FIXME
|
||||||
|
};
|
||||||
} cachepic_t;
|
} cachepic_t;
|
||||||
|
|
||||||
#define MAX_CACHED_PICS 128
|
#define MAX_CACHED_PICS 128
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue