Hopefully fix unused variable error in GCC 4.9.2

This commit is contained in:
couriersud 2015-01-01 23:28:59 +01:00
parent 4a46c71274
commit c0c22a0894

View File

@ -114,7 +114,7 @@ INLINE UINT32 pixel_ycc_to_rgb_pal(UINT16 *pixel, const rgb_t *palette)
#define TEXCOPY_M( _name, _src_type, _dest_type, _op, _len_div) \
INLINE void texcopy_##_name (texture_info *texture, const render_texinfo *texsource) { \
const rgb_t *palbase = texsource->palette(); \
ATTR_UNUSED const rgb_t *palbase = texsource->palette(); \
int x, y; \
/* loop over Y */ \
for (y = 0; y < texsource->height; y++) { \
@ -134,7 +134,7 @@ INLINE void texcopy_##_name (texture_info *texture, const render_texinfo *texsou
#define TEXROT( _name, _src_type, _dest_type, _op) \
INLINE void texcopy_rot_##_name (texture_info *texture, const render_texinfo *texsource) { \
const rgb_t *palbase = texsource->palette(); \
ATTR_UNUSED const rgb_t *palbase = texsource->palette(); \
int x, y; \
quad_setup_data *setup = &texture->setup; \
int dudx = setup->dudx; \