mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
Update other gfx_ctx_init_first calls
This commit is contained in:
parent
233f933187
commit
6eaec2fb97
@ -644,15 +644,14 @@ static const gfx_ctx_driver_t *d3d_get_context(void *data)
|
||||
TODO: GL core contexts through ANGLE? */
|
||||
enum gfx_ctx_api api = GFX_CTX_DIRECT3D9_API;
|
||||
unsigned major = 9, minor = 0;
|
||||
(void)major;
|
||||
(void)minor;
|
||||
|
||||
#if defined(_XBOX1)
|
||||
api = GFX_CTX_DIRECT3D8_API;
|
||||
major = 8;
|
||||
#endif
|
||||
return gfx_ctx_init_first(driver.video_data, api,
|
||||
major, minor, false);
|
||||
return gfx_ctx_init_first(driver.video_data,
|
||||
g_settings.video.context_driver,
|
||||
api, major, minor, false);
|
||||
}
|
||||
|
||||
static void *d3d_init(const video_info_t *info,
|
||||
|
3
gfx/vg.c
3
gfx/vg.c
@ -84,7 +84,8 @@ static void *vg_init(const video_info_t *video, const input_driver_t **input, vo
|
||||
if (!vg)
|
||||
return NULL;
|
||||
|
||||
vg->driver = gfx_ctx_init_first(vg, GFX_CTX_OPENVG_API, 0, 0, false);
|
||||
vg->driver = gfx_ctx_init_first(vg, g_settings.video.context_driver,
|
||||
GFX_CTX_OPENVG_API, 0, 0, false);
|
||||
|
||||
if (!vg->driver)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user