mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
Merge pull request #1531 from aliaspider/master
(windows) build fix: change video_driver_resolve to video_driver_get_ptr
This commit is contained in:
commit
189458f661
@ -241,7 +241,7 @@ static void shader_dlg_update_on_top_state(void)
|
||||
void shader_dlg_show(HWND parent_hwnd)
|
||||
{
|
||||
const video_driver_t* vid_drv;
|
||||
video_driver_resolve(&vid_drv);
|
||||
video_driver_get_ptr(&vid_drv);
|
||||
if(vid_drv != &video_gl)
|
||||
return;
|
||||
|
||||
@ -334,7 +334,7 @@ bool wgl_shader_dlg_init(void)
|
||||
static bool inited = false;
|
||||
|
||||
const video_driver_t* vid_drv;
|
||||
video_driver_resolve(&vid_drv);
|
||||
video_driver_get_ptr(&vid_drv);
|
||||
if(vid_drv != &video_gl)
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user