CACHEPICFLAG_NEWPIC = 16, // disables matching texflags check, because a pic created with Draw_NewPic should not be subject to that
CACHEPICFLAG_MIPMAP = 32,
CACHEPICFLAG_NEAREST = 64, // force nearest filtering instead of linear
- CACHEPICFLAG_FAILONMISSING = 128 // return NULL if the pic has no texture
+ CACHEPICFLAG_LINEAR = 128, // force linear filtering even if nearest_2d is enabled
+ CACHEPICFLAG_FAILONMISSING = 256 // return NULL if the pic has no texture
}
cachepicflags_t;
-void Draw_Init (void);
void Draw_Frame (void);
cachepic_t *Draw_CachePic_Flags (const char *path, unsigned int cachepicflags);
cachepic_t *Draw_CachePic (const char *path); // standard function with no options, used throughout engine