Commit d8ab9fd6 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: fix a small warning

parent 1032cea7
......@@ -254,7 +254,7 @@ static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
HRESULT hr = ID2D1HwndRenderTarget_EndDraw(sys->d2_render_target,
NULL,
NULL);
if (hr == D2DERR_RECREATE_TARGET) {
if (hr == D2DERR_RECREATE_TARGET) {
D2D_DestroyRenderTarget(vd);
D2D_CreateRenderTarget(vd);
}
......
......@@ -231,6 +231,7 @@ static void Swap(vlc_gl_t *gl)
static void *OurGetProcAddress(vlc_gl_t *gl, const char *name)
{
VLC_UNUSED(gl);
return wglGetProcAddress(name);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment