diff --git a/dll/directx/wine/wined3d/state.c b/dll/directx/wine/wined3d/state.c index 2f506c36d16..890af9c2ee0 100644 --- a/dll/directx/wine/wined3d/state.c +++ b/dll/directx/wine/wined3d/state.c @@ -38,6 +38,9 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d); WINE_DECLARE_DEBUG_CHANNEL(d3d_shader); +void (WINE_GLAPI *glDisableWINE)(GLenum cap); +void (WINE_GLAPI *glEnableWINE)(GLenum cap); + ULONG CDECL wined3d_blend_state_incref(struct wined3d_blend_state *state) { ULONG refcount = InterlockedIncrement(&state->refcount); diff --git a/dll/directx/wine/wined3d/wined3d_gl.h b/dll/directx/wine/wined3d/wined3d_gl.h index 87283c850e1..f9fd9c307fa 100644 --- a/dll/directx/wine/wined3d/wined3d_gl.h +++ b/dll/directx/wine/wined3d/wined3d_gl.h @@ -28,8 +28,8 @@ #define GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI 0x8837 /* not in the gl spec */ -void (WINE_GLAPI *glDisableWINE)(GLenum cap) DECLSPEC_HIDDEN; -void (WINE_GLAPI *glEnableWINE)(GLenum cap) DECLSPEC_HIDDEN; +extern void (WINE_GLAPI *glDisableWINE)(GLenum cap) DECLSPEC_HIDDEN; +extern void (WINE_GLAPI *glEnableWINE)(GLenum cap) DECLSPEC_HIDDEN; /* OpenGL extensions. */ enum wined3d_gl_extension