mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Build fixups.
This commit is contained in:
parent
ef97f05dff
commit
2b28050c15
@ -21,6 +21,7 @@
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include "menu_common.h"
|
#include "menu_common.h"
|
||||||
|
|
||||||
|
#include "../../performance.h"
|
||||||
#include "../../file.h"
|
#include "../../file.h"
|
||||||
#ifdef HAVE_FILEBROWSER
|
#ifdef HAVE_FILEBROWSER
|
||||||
#include "utils/file_browser.h"
|
#include "utils/file_browser.h"
|
||||||
@ -773,6 +774,7 @@ static uint64_t rgui_input(void)
|
|||||||
|
|
||||||
bool menu_iterate(void)
|
bool menu_iterate(void)
|
||||||
{
|
{
|
||||||
|
rarch_time_t time, delta, target_msec, sleep_msec;
|
||||||
static bool initial_held = true;
|
static bool initial_held = true;
|
||||||
static bool first_held = false;
|
static bool first_held = false;
|
||||||
uint64_t input_state = 0;
|
uint64_t input_state = 0;
|
||||||
|
4
gfx/gl.c
4
gfx/gl.c
@ -1870,10 +1870,6 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo
|
|||||||
|
|
||||||
rglgen_resolve_symbols(gl->ctx_driver->get_proc_address);
|
rglgen_resolve_symbols(gl->ctx_driver->get_proc_address);
|
||||||
|
|
||||||
const char *vendor = (const char*)glGetString(GL_VENDOR);
|
|
||||||
const char *renderer = (const char*)glGetString(GL_RENDERER);
|
|
||||||
RARCH_LOG("[GL]: Vendor: %s, Renderer: %s.\n", vendor, renderer);
|
|
||||||
|
|
||||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||||
|
|
||||||
if (!resolve_extensions(gl))
|
if (!resolve_extensions(gl))
|
||||||
|
@ -60,6 +60,7 @@
|
|||||||
#define context_write_egl_image_func(frame, width, height, pitch, base_size, tex_index, img) \
|
#define context_write_egl_image_func(frame, width, height, pitch, base_size, tex_index, img) \
|
||||||
gl->ctx_driver->write_egl_image(frame, width, height, pitch, base_size, tex_index,img)
|
gl->ctx_driver->write_egl_image(frame, width, height, pitch, base_size, tex_index,img)
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
static inline bool gl_check_error(void)
|
static inline bool gl_check_error(void)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user