mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Fix build on VC.
Conflicts: gfx/gl_common.h
This commit is contained in:
parent
283d17284b
commit
5a4caf1c51
@ -118,6 +118,8 @@ static void gfx_ctx_get_video_size(unsigned *width, unsigned *height)
|
|||||||
*height = g_fb_height;
|
*height = g_fb_height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void gfx_ctx_destroy(void);
|
||||||
|
|
||||||
static bool gfx_ctx_init(void)
|
static bool gfx_ctx_init(void)
|
||||||
{
|
{
|
||||||
RARCH_LOG("[VC/EGL]: Initializing...\n");
|
RARCH_LOG("[VC/EGL]: Initializing...\n");
|
||||||
@ -127,10 +129,7 @@ static bool gfx_ctx_init(void)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t success;
|
|
||||||
EGLBoolean result;
|
|
||||||
EGLint num_config;
|
EGLint num_config;
|
||||||
|
|
||||||
static EGL_DISPMANX_WINDOW_T nativewindow;
|
static EGL_DISPMANX_WINDOW_T nativewindow;
|
||||||
|
|
||||||
DISPMANX_ELEMENT_HANDLE_T dispman_element;
|
DISPMANX_ELEMENT_HANDLE_T dispman_element;
|
||||||
@ -262,7 +261,6 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api)
|
|||||||
|
|
||||||
static void gfx_ctx_destroy(void)
|
static void gfx_ctx_destroy(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (g_egl_dpy)
|
if (g_egl_dpy)
|
||||||
{
|
{
|
||||||
for (unsigned i = 0; i < MAX_EGLIMAGE_TEXTURES; i++)
|
for (unsigned i = 0; i < MAX_EGLIMAGE_TEXTURES; i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user