eleminate padding from struct img on 64bit systems (#136)
on 64bit systems this reduces the size of the struct from 104 bytes down to 96 bytes. on 32bits system this change shouldn't have any affect.
This commit is contained in:
parent
7e7eaf08f1
commit
f46d30591a
6
nsxiv.h
6
nsxiv.h
|
@ -210,6 +210,9 @@ struct img {
|
||||||
float x;
|
float x;
|
||||||
float y;
|
float y;
|
||||||
|
|
||||||
|
Imlib_Color_Modifier cmod;
|
||||||
|
int gamma;
|
||||||
|
|
||||||
scalemode_t scalemode;
|
scalemode_t scalemode;
|
||||||
float zoom;
|
float zoom;
|
||||||
|
|
||||||
|
@ -218,9 +221,6 @@ struct img {
|
||||||
bool aa;
|
bool aa;
|
||||||
bool alpha;
|
bool alpha;
|
||||||
|
|
||||||
Imlib_Color_Modifier cmod;
|
|
||||||
int gamma;
|
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
bool on;
|
bool on;
|
||||||
int delay;
|
int delay;
|
||||||
|
|
Loading…
Reference in a new issue