gdi32: Move GET_DC_PHYSDEV back to gdi_private.h, it can't be used from external drivers.
This commit is contained in:
parent
68c6f58e6e
commit
1f8a0eb40e
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue