Merge pull request #1531 from aliaspider/master

(windows) build fix: change video_driver_resolve to video_driver_get_ptr
This commit is contained in:
Twinaphex 2015-03-23 22:00:24 +01:00
commit 189458f661

View File

@ -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;