mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 18:20:27 +00:00
(CTR) Remove ctr_set_scale_vector until we actually have a need for it
This commit is contained in:
parent
fdc47dcdae
commit
e30793b06f
@ -185,21 +185,4 @@ struct ctr_overlay_data
|
||||
};
|
||||
#endif
|
||||
|
||||
struct ctr_bottom_texture_data
|
||||
{
|
||||
uintptr_t texture;
|
||||
ctr_vertex_t* frame_coords;
|
||||
ctr_scale_vector_t scale_vector;
|
||||
};
|
||||
|
||||
static INLINE void ctr_set_scale_vector(ctr_scale_vector_t* vec,
|
||||
int viewport_width, int viewport_height,
|
||||
int texture_width, int texture_height)
|
||||
{
|
||||
vec->x = -2.0f / viewport_width;
|
||||
vec->y = -2.0f / viewport_height;
|
||||
vec->u = 1.0f / texture_width;
|
||||
vec->v = -1.0f / texture_height;
|
||||
}
|
||||
|
||||
#endif /* CTR_COMMON_H__ */
|
||||
|
@ -59,6 +59,13 @@ enum
|
||||
CTR_TEXTURE_LAST
|
||||
};
|
||||
|
||||
struct ctr_bottom_texture_data
|
||||
{
|
||||
uintptr_t texture;
|
||||
ctr_vertex_t* frame_coords;
|
||||
ctr_scale_vector_t scale_vector;
|
||||
};
|
||||
|
||||
/* TODO/FIXME - global referenced outside */
|
||||
extern uint64_t lifecycle_state;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user