mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fix useless code.
This commit is contained in:
parent
7458f7888f
commit
4786f6dd94
4
gfx/gl.c
4
gfx/gl.c
@ -1286,7 +1286,7 @@ static void gl_set_nonblock_state(void *data, bool state)
|
||||
context_swap_interval_func(state ? 0 : 1);
|
||||
}
|
||||
|
||||
static bool resolve_extensions(gl_t *gl, bool rgb32)
|
||||
static bool resolve_extensions(gl_t *gl)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
// Win32 GL lib doesn't have some elementary functions needed.
|
||||
@ -1467,7 +1467,7 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
#endif
|
||||
|
||||
if (!resolve_extensions(gl, video->rgb32))
|
||||
if (!resolve_extensions(gl))
|
||||
{
|
||||
context_destroy_func();
|
||||
free(gl);
|
||||
|
Loading…
x
Reference in New Issue
Block a user