Skip to content

Commit

Permalink
Cleanup some unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed May 7, 2016
1 parent 90585e6 commit 56db32a
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions libretro/libretro.c
Expand Up @@ -842,20 +842,6 @@ static void context_reset(void)
static void context_destroy(void)
{
}

static bool context_imm_vbo_draw(void *data)
{
(void)data;
vbo_draw();
return true;
}

static bool context_imm_vbo_disable(void *data)
{
(void)data;
vbo_disable();
return true;
}
#endif

static bool context_framebuffer_lock(void *data)
Expand Down Expand Up @@ -885,14 +871,6 @@ bool retro_load_game(const struct retro_game_info *game)
params.environ_cb = environ_cb;
params.stencil = false;

#if 0
if (gfx_plugin == GFX_GLIDE64)
{
params.imm_vbo_draw = context_imm_vbo_draw;
params.imm_vbo_disable = context_imm_vbo_disable;
}
#endif

params.framebuffer_lock = context_framebuffer_lock;

if (!glsm_ctl(GLSM_CTL_STATE_CONTEXT_INIT, &params))
Expand Down

0 comments on commit 56db32a

Please sign in to comment.