(win32_shader_dlg.c) Cleanups

This commit is contained in:
twinaphex 2015-11-19 07:19:07 +01:00
parent cdbd010726
commit 92e1fcd5fa
1 changed files with 0 additions and 8 deletions

View File

@ -264,13 +264,6 @@ static void shader_dlg_update_on_top_state(void)
void shader_dlg_show(HWND parent_hwnd)
{
const video_driver_t* vid_drv;
video_driver_get_ptr(&vid_drv);
if(vid_drv != &video_gl)
return;
if (!IsWindowVisible(g_shader_dlg.hwnd))
{
if (parent_hwnd)
@ -354,7 +347,6 @@ static LRESULT CALLBACK ShaderDlgWndProc(HWND hwnd, UINT message,
bool win32_shader_dlg_init(void)
{
static bool inited = false;
const video_driver_t* vid_drv;
int pos_y;
HFONT hFont;