mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
Kill unused variables
This commit is contained in:
parent
9b9e65abf3
commit
f08db710ac
@ -970,7 +970,6 @@ static void gl_frame_fbo(gl_t *gl,
|
|||||||
GLfloat xamt, yamt;
|
GLfloat xamt, yamt;
|
||||||
unsigned fbo_tex_info_cnt = 0;
|
unsigned fbo_tex_info_cnt = 0;
|
||||||
GLfloat fbo_tex_coords[8] = {0.0f};
|
GLfloat fbo_tex_coords[8] = {0.0f};
|
||||||
runloop_t *runloop = rarch_main_get_ptr();
|
|
||||||
global_t *global = global_get_ptr();
|
global_t *global = global_get_ptr();
|
||||||
uint64_t frame_count = video_driver_get_frame_count();
|
uint64_t frame_count = video_driver_get_frame_count();
|
||||||
|
|
||||||
|
@ -235,7 +235,6 @@ bool gfx_ctx_has_windowed(void *data)
|
|||||||
bool gfx_ctx_check_window(void *data, bool *quit, bool *resize,
|
bool gfx_ctx_check_window(void *data, bool *quit, bool *resize,
|
||||||
unsigned *width, unsigned *height)
|
unsigned *width, unsigned *height)
|
||||||
{
|
{
|
||||||
runloop_t *runloop = rarch_main_get_ptr();
|
|
||||||
const gfx_ctx_driver_t *ctx = gfx_ctx_get_ptr();
|
const gfx_ctx_driver_t *ctx = gfx_ctx_get_ptr();
|
||||||
uint64_t frame_count = video_driver_get_frame_count();
|
uint64_t frame_count = video_driver_get_frame_count();
|
||||||
|
|
||||||
|
@ -124,7 +124,6 @@ static void video_frame(const void *data, unsigned width,
|
|||||||
driver_t *driver = driver_get_ptr();
|
driver_t *driver = driver_get_ptr();
|
||||||
global_t *global = global_get_ptr();
|
global_t *global = global_get_ptr();
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
runloop_t *runloop = rarch_main_get_ptr();
|
|
||||||
|
|
||||||
if (!driver->video_active)
|
if (!driver->video_active)
|
||||||
return;
|
return;
|
||||||
|
@ -1000,12 +1000,11 @@ static void xmb_draw_items(xmb_handle_t *xmb, gl_t *gl,
|
|||||||
{
|
{
|
||||||
menu_entry_t entry;
|
menu_entry_t entry;
|
||||||
float icon_x, icon_y;
|
float icon_x, icon_y;
|
||||||
GLuint texture_switch = 0;
|
|
||||||
char name[PATH_MAX_LENGTH], value[PATH_MAX_LENGTH];
|
char name[PATH_MAX_LENGTH], value[PATH_MAX_LENGTH];
|
||||||
GLuint icon = 0;
|
GLuint texture_switch = 0;
|
||||||
xmb_node_t *node = (xmb_node_t*)file_list_get_userdata_at_offset(list, i);
|
GLuint icon = 0;
|
||||||
runloop_t *runloop = rarch_main_get_ptr();
|
xmb_node_t * node = (xmb_node_t*)file_list_get_userdata_at_offset(list, i);
|
||||||
menu_handle_t *menu = menu_driver_get_ptr();
|
menu_handle_t *menu = menu_driver_get_ptr();
|
||||||
|
|
||||||
if (!node)
|
if (!node)
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user