mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +00:00
Silence warnings
This commit is contained in:
parent
5aaebcfa62
commit
7a36ea7d1c
@ -352,7 +352,7 @@ static bool gfx_ctx_xegl_set_video_mode(void *data,
|
||||
goto error;
|
||||
}
|
||||
|
||||
if (!egl_create_surface(&xegl->egl, (EGLNativeWindowType)g_x11_win))
|
||||
if (!egl_create_surface(&xegl->egl, (void*)g_x11_win))
|
||||
goto error;
|
||||
|
||||
x11_set_window_attr(g_x11_dpy, g_x11_win);
|
||||
|
@ -34,12 +34,17 @@
|
||||
#include "../../config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/Cg/cg.h"
|
||||
#ifdef HAVE_OPENGL
|
||||
#include "../common/gl_common.h"
|
||||
#include "../include/Cg/cgGL.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SHADERPIPELINE
|
||||
#include "../drivers/gl_shaders/pipeline_xmb_ribbon_simple.cg.h"
|
||||
#endif
|
||||
|
||||
#include "../include/Cg/cg.h"
|
||||
|
||||
#include "../video_shader_driver.h"
|
||||
#include "../video_shader_parse.h"
|
||||
#include "../video_state_tracker.h"
|
||||
@ -47,10 +52,6 @@
|
||||
#include "../../dynamic.h"
|
||||
#include "../../managers/state_manager.h"
|
||||
|
||||
#ifdef HAVE_SHADERPIPELINE
|
||||
#include "../drivers/gl_shaders/pipeline_xmb_ribbon_simple.cg.h"
|
||||
#endif
|
||||
|
||||
#define SEMANTIC_TEXCOORD 0x92ee91cdU
|
||||
#define SEMANTIC_TEXCOORD0 0xf0c0cb9dU
|
||||
#define SEMANTIC_TEXCOORD1 0xf0c0cb9eU
|
||||
|
@ -16,10 +16,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "../../config.h"
|
||||
#endif
|
||||
|
||||
#include <compat/strl.h>
|
||||
#include <compat/posix_string.h>
|
||||
#include <file/file_path.h>
|
||||
@ -27,16 +23,20 @@
|
||||
#include <streams/file_stream.h>
|
||||
#include <string/stdstring.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "../../config.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OPENGL
|
||||
#include "../common/gl_common.h"
|
||||
#endif
|
||||
|
||||
#include "shader_glsl.h"
|
||||
#include "../video_state_tracker.h"
|
||||
#include "../../dynamic.h"
|
||||
#include "../../managers/state_manager.h"
|
||||
#include "../../core.h"
|
||||
|
||||
#ifdef HAVE_OPENGL
|
||||
#include "../common/gl_common.h"
|
||||
#endif
|
||||
|
||||
#define PREV_TEXTURES (GFX_MAX_TEXTURES - 1)
|
||||
|
||||
/* Cache the VBO. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user