Skip to content

Commit

Permalink
Reduce size of image_t.
Browse files Browse the repository at this point in the history
  • Loading branch information
skullernet committed Oct 18, 2023
1 parent dec2b4f commit 1d3c69d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/refresh/images.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ typedef enum {
typedef struct image_s {
list_t entry;
char name[MAX_QPATH]; // game path
int baselen; // without extension
imagetype_t type;
uint8_t baselen; // without extension
uint8_t type;
imageflags_t flags;
int16_t width, height; // source image
int16_t upload_width, upload_height; // after power of two and picmip
uint16_t width, height; // source image
uint16_t upload_width, upload_height; // after power of two and picmip
int registration_sequence; // 0 = free
unsigned texnum, glow_texnum; // gl texture binding
float sl, sh, tl, th;
Expand Down

0 comments on commit 1d3c69d

Please sign in to comment.