[WINED3D] Do not declare global variables in a header

This commit is contained in:
Victor Perevertkin 2022-04-26 02:50:33 +03:00
parent 4295b007ae
commit d2c667c616
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
2 changed files with 5 additions and 2 deletions

View file

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

View file

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