wined3d: Fix an msvc anachronism warning.
This commit is contained in:
parent
81b03d8891
commit
6a87681b11
|
@ -46,8 +46,8 @@ struct wined3d_wndproc_table
|
|||
static struct wined3d_wndproc_table wndproc_table;
|
||||
|
||||
int num_lock = 0;
|
||||
void (*CDECL wine_tsx11_lock_ptr)(void) = NULL;
|
||||
void (*CDECL wine_tsx11_unlock_ptr)(void) = NULL;
|
||||
void (CDECL *wine_tsx11_lock_ptr)(void) = NULL;
|
||||
void (CDECL *wine_tsx11_unlock_ptr)(void) = NULL;
|
||||
|
||||
static CRITICAL_SECTION wined3d_cs;
|
||||
static CRITICAL_SECTION_DEBUG wined3d_cs_debug =
|
||||
|
|
|
@ -728,8 +728,8 @@ extern const shader_backend_t none_shader_backend DECLSPEC_HIDDEN;
|
|||
|
||||
/* X11 locking */
|
||||
|
||||
extern void (* CDECL wine_tsx11_lock_ptr)(void) DECLSPEC_HIDDEN;
|
||||
extern void (* CDECL wine_tsx11_unlock_ptr)(void) DECLSPEC_HIDDEN;
|
||||
extern void (CDECL *wine_tsx11_lock_ptr)(void) DECLSPEC_HIDDEN;
|
||||
extern void (CDECL *wine_tsx11_unlock_ptr)(void) DECLSPEC_HIDDEN;
|
||||
|
||||
/* As GLX relies on X, this is needed */
|
||||
extern int num_lock DECLSPEC_HIDDEN;
|
||||
|
|
Loading…
Reference in New Issue