mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Buildfix for Emscripten
This commit is contained in:
parent
e8dbcd4600
commit
c3afd4b1a5
@ -9771,6 +9771,8 @@ int rarch_main(int argc, char *argv[], void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(EMSCRIPTEN)
|
#if defined(EMSCRIPTEN)
|
||||||
|
#include "gfx/common/gl_common.h"
|
||||||
|
|
||||||
void RWebAudioRecalibrateTime(void);
|
void RWebAudioRecalibrateTime(void);
|
||||||
|
|
||||||
void emscripten_mainloop(void)
|
void emscripten_mainloop(void)
|
||||||
@ -9799,7 +9801,7 @@ void emscripten_mainloop(void)
|
|||||||
{
|
{
|
||||||
if ((emscripten_frame_count % (black_frame_insertion+1)) != 0)
|
if ((emscripten_frame_count % (black_frame_insertion+1)) != 0)
|
||||||
{
|
{
|
||||||
glClear(GL_COLOR_BUFFER_BIT);
|
gl_clear();
|
||||||
if (p_rarch->current_video_context.swap_buffers)
|
if (p_rarch->current_video_context.swap_buffers)
|
||||||
p_rarch->current_video_context.swap_buffers(
|
p_rarch->current_video_context.swap_buffers(
|
||||||
p_rarch->video_context_data);
|
p_rarch->video_context_data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user