Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4eca43e7
Commit
4eca43e7
authored
Dec 18, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Dec 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv/wined3d: Fix tsx11 calling convention.
parent
1b802bd5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
wined3d_main.c
dlls/wined3d/wined3d_main.c
+3
-3
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-2
x11drv_main.c
dlls/winex11.drv/x11drv_main.c
+2
-2
No files found.
dlls/wined3d/wined3d_main.c
View file @
4eca43e7
...
...
@@ -29,8 +29,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d
);
int
num_lock
=
0
;
void
(
*
wine_tsx11_lock_ptr
)(
void
)
=
NULL
;
void
(
*
wine_tsx11_unlock_ptr
)(
void
)
=
NULL
;
void
(
*
CDECL
wine_tsx11_lock_ptr
)(
void
)
=
NULL
;
void
(
*
CDECL
wine_tsx11_unlock_ptr
)(
void
)
=
NULL
;
/* When updating default value here, make sure to update winecfg as well,
...
...
@@ -88,7 +88,7 @@ static inline DWORD get_config_key_dword(HKEY defkey, HKEY appkey, const char* n
return
ERROR_FILE_NOT_FOUND
;
}
static
void
wined3d_do_nothing
(
void
)
static
void
CDECL
wined3d_do_nothing
(
void
)
{
}
...
...
dlls/wined3d/wined3d_private.h
View file @
4eca43e7
...
...
@@ -483,8 +483,8 @@ extern const shader_backend_t none_shader_backend;
/* X11 locking */
extern
void
(
*
wine_tsx11_lock_ptr
)(
void
);
extern
void
(
*
wine_tsx11_unlock_ptr
)(
void
);
extern
void
(
*
CDECL
wine_tsx11_lock_ptr
)(
void
);
extern
void
(
*
CDECL
wine_tsx11_unlock_ptr
)(
void
);
/* As GLX relies on X, this is needed */
extern
int
num_lock
;
...
...
dlls/winex11.drv/x11drv_main.c
View file @
4eca43e7
...
...
@@ -271,7 +271,7 @@ static int error_handler( Display *display, XErrorEvent *error_evt )
/***********************************************************************
* wine_tsx11_lock (X11DRV.@)
*/
void
wine_tsx11_lock
(
void
)
void
CDECL
wine_tsx11_lock
(
void
)
{
EnterCriticalSection
(
&
X11DRV_CritSection
);
}
...
...
@@ -279,7 +279,7 @@ void wine_tsx11_lock(void)
/***********************************************************************
* wine_tsx11_unlock (X11DRV.@)
*/
void
wine_tsx11_unlock
(
void
)
void
CDECL
wine_tsx11_unlock
(
void
)
{
LeaveCriticalSection
(
&
X11DRV_CritSection
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment