Commit 32792812 authored by Laurent Aimar's avatar Laurent Aimar

Fixed win32 compilation.

parent 88780e11
......@@ -67,7 +67,7 @@ static int Control(vout_display_t *, int, va_list);
static void Manage (vout_display_t *);
static void Swap (vlc_gl_t *);
static void *GetProcAddress(vlc_gl_t *, const char *);
static void *OurGetProcAddress(vlc_gl_t *, const char *);
/**
* It creates an OpenGL vout display.
......@@ -112,7 +112,7 @@ static int Open(vlc_object_t *object)
sys->gl.lock = NULL;
sys->gl.unlock = NULL;
sys->gl.swap = Swap;
sys->gl.getProcAddress = GetProcAddress;
sys->gl.getProcAddress = OurGetProcAddress;
sys->gl.sys = vd;
video_format_t fmt = vd->fmt;
......@@ -230,7 +230,7 @@ static void Swap(vlc_gl_t *gl)
SwapBuffers(vd->sys->hGLDC);
}
static void *GetProcAddress(vlc_gl_t *gl, const char *name)
static void *OurGetProcAddress(vlc_gl_t *gl, const char *name)
{
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