Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c2a43def
Commit
c2a43def
authored
Nov 22, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Don't use CDECL for __wine_get_wgl_driver.
parent
65835e4b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
6 deletions
+4
-6
make_opengl
dlls/opengl32/make_opengl
+1
-1
dc.c
dlls/win32u/dc.c
+1
-1
gdi_driver.h
include/wine/gdi_driver.h
+0
-2
wgl_driver.h
include/wine/wgl_driver.h
+2
-2
No files found.
dlls/opengl32/make_opengl
View file @
c2a43def
...
...
@@ -925,7 +925,7 @@ foreach (sort keys %norm_functions)
}
print
HEADER
"\n\n"
;
print
HEADER
"extern struct opengl_funcs *
CDECL
__wine_get_wgl_driver( HDC hdc, UINT version );\n\n"
;
print
HEADER
"extern struct opengl_funcs *__wine_get_wgl_driver( HDC hdc, UINT version );\n\n"
;
print
HEADER
"#endif /* __WINE_WGL_DRIVER_H */\n"
;
close
HEADER
;
...
...
dlls/win32u/dc.c
View file @
c2a43def
...
...
@@ -1491,7 +1491,7 @@ BOOL CDECL __wine_get_icm_profile( HDC hdc, BOOL allow_default, DWORD *size, WCH
/***********************************************************************
* __wine_get_wgl_driver (win32u.@)
*/
struct
opengl_funcs
*
CDECL
__wine_get_wgl_driver
(
HDC
hdc
,
UINT
version
)
struct
opengl_funcs
*
__wine_get_wgl_driver
(
HDC
hdc
,
UINT
version
)
{
BOOL
is_display
,
is_memdc
;
DC
*
dc
;
...
...
include/wine/gdi_driver.h
View file @
c2a43def
...
...
@@ -340,6 +340,4 @@ extern void __wine_set_user_driver( const struct user_driver_funcs *funcs, UINT
#endif
/* WINE_UNIX_LIB */
extern
struct
opengl_funcs
*
CDECL
__wine_get_wgl_driver
(
HDC
hdc
,
UINT
version
);
#endif
/* __WINE_WINE_GDI_DRIVER_H */
include/wine/wgl_driver.h
View file @
c2a43def
...
...
@@ -7,7 +7,7 @@
#define WINE_GLAPI
#endif
#define WINE_WGL_DRIVER_VERSION 2
1
#define WINE_WGL_DRIVER_VERSION 2
2
struct
wgl_context
;
struct
wgl_pbuffer
;
...
...
@@ -3405,6 +3405,6 @@ struct opengl_funcs
USE_GL_FUNC(glVertexPointer) \
USE_GL_FUNC(glViewport)
extern
struct
opengl_funcs
*
CDECL
__wine_get_wgl_driver
(
HDC
hdc
,
UINT
version
);
extern
struct
opengl_funcs
*
__wine_get_wgl_driver
(
HDC
hdc
,
UINT
version
);
#endif
/* __WINE_WGL_DRIVER_H */
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