mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-26 21:36:26 +00:00
Cleanups
This commit is contained in:
parent
a295169a3b
commit
bc45ba38bf
@ -576,9 +576,6 @@ static void gl_init_textures(gl_t *gl, const video_info_t *video)
|
||||
unsigned i;
|
||||
GLenum internal_fmt, texture_type = 0, texture_fmt = 0;
|
||||
|
||||
(void)texture_type;
|
||||
(void)texture_fmt;
|
||||
|
||||
/* Use regular textures if we use HW render. */
|
||||
gl->egl_images = !gl->hw_render_use && gl_check_capability(GL_CAPS_EGLIMAGE) &&
|
||||
video_context_driver_init_image_buffer((void*)video);
|
||||
@ -594,10 +591,8 @@ static void gl_init_textures(gl_t *gl, const video_info_t *video)
|
||||
#endif
|
||||
|
||||
internal_fmt = gl->internal_fmt;
|
||||
#ifndef HAVE_PSGL
|
||||
texture_type = gl->texture_type;
|
||||
texture_fmt = gl->texture_fmt;
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_OPENGLES) && !defined(HAVE_PSGL)
|
||||
/* GLES is picky about which format we use here.
|
||||
|
Loading…
x
Reference in New Issue
Block a user