mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[WINED3D] Do not declare global variables in a header
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user