[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:
Bill Currie 2022-03-31 02:56:14 +09:00
parent d109571994
commit 8f6ee4f5ac

View file

@ -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