mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 10:40:39 +00:00
(XDK) Ifdef FBO video_poke functions with HAVE_FBO
This commit is contained in:
parent
e6eb583b23
commit
dd697ded76
2
driver.h
2
driver.h
@ -232,8 +232,10 @@ typedef struct video_poke_interface
|
||||
{
|
||||
void (*set_blend)(void *data, bool enable);
|
||||
void (*set_filtering)(void *data, unsigned index, bool smooth);
|
||||
#ifdef HAVE_FBO
|
||||
void (*set_fbo_state)(void *data, unsigned state);
|
||||
unsigned (*get_fbo_state)(void *data);
|
||||
#endif
|
||||
void (*set_aspect_ratio)(void *data, unsigned aspectratio_index);
|
||||
void (*apply_state_changes)(void *data);
|
||||
|
||||
|
@ -973,14 +973,16 @@ static void xdk_d3d_set_blend(void *data, bool enable)
|
||||
|
||||
static void xdk_d3d_apply_state_changes(void *data)
|
||||
{
|
||||
gl_t *gl = (gl_t*)data;
|
||||
gl->should_resize = true;
|
||||
xdk_d3d_video_t *d3d = (xdk_d3d_video_t*)data;
|
||||
d3d->should_resize = true;
|
||||
}
|
||||
|
||||
static const video_poke_interface_t d3d_poke_interface = {
|
||||
xdk_d3d_set_blend,
|
||||
xdk_d3d_set_filtering,
|
||||
#ifdef HAVE_FBO
|
||||
xdk_d3d_set_fbo_state,
|
||||
#endif
|
||||
xdk_d3d_set_aspect_ratio,
|
||||
xdk_d3d_apply_state_changes,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user