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
1f8a0eb4
Commit
1f8a0eb4
authored
Jul 06, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Move GET_DC_PHYSDEV back to gdi_private.h, it can't be used from external drivers.
parent
68c6f58e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
gdi_private.h
dlls/gdi32/gdi_private.h
+3
-0
gdi_driver.h
include/wine/gdi_driver.h
+2
-2
No files found.
dlls/gdi32/gdi_private.h
View file @
1f8a0eb4
...
...
@@ -273,6 +273,9 @@ static inline INT GDI_ROUND(double val)
return
(
int
)
floor
(
val
+
0
.
5
);
}
#define GET_DC_PHYSDEV(dc,func) \
get_physdev_entry_point( (dc)->physDev, FIELD_OFFSET(struct gdi_dc_funcs,func))
/* bitmap object */
typedef
struct
tagBITMAPOBJ
...
...
include/wine/gdi_driver.h
View file @
1f8a0eb4
...
...
@@ -200,7 +200,7 @@ static inline PHYSDEV get_physdev_entry_point( PHYSDEV dev, size_t offset )
return
dev
;
}
#define GET_
DC_PHYSDEV(dc,func) get_physdev_entry_point( (dc)->physDev, FIELD_OFFSET(DC_FUNCTIONS,func))
#define GET_NEXT_PHYSDEV(dev,func) get_physdev_entry_point( (dev)->next, FIELD_OFFSET(DC_FUNCTIONS
,func))
#define GET_
NEXT_PHYSDEV(dev,func) \
get_physdev_entry_point( (dev)->next, FIELD_OFFSET(struct gdi_dc_funcs
,func))
#endif
/* __WINE_WINE_GDI_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