ddraw: Get rid of some unused macros.
This commit is contained in:
parent
f60b54d952
commit
b741cd02c3
|
@ -242,10 +242,6 @@ IDirectDrawSurfaceImpl *unsafe_impl_from_IDirectDrawSurface7(IDirectDrawSurface7
|
||||||
IDirectDrawSurfaceImpl *unsafe_impl_from_IDirect3DTexture(IDirect3DTexture *iface) DECLSPEC_HIDDEN;
|
IDirectDrawSurfaceImpl *unsafe_impl_from_IDirect3DTexture(IDirect3DTexture *iface) DECLSPEC_HIDDEN;
|
||||||
IDirectDrawSurfaceImpl *unsafe_impl_from_IDirect3DTexture2(IDirect3DTexture2 *iface) DECLSPEC_HIDDEN;
|
IDirectDrawSurfaceImpl *unsafe_impl_from_IDirect3DTexture2(IDirect3DTexture2 *iface) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* Get the number of bytes per pixel for a given surface */
|
|
||||||
#define PFGET_BPP(pf) (pf.dwFlags&DDPF_PALETTEINDEXED8?1:((pf.dwRGBBitCount+7)/8))
|
|
||||||
#define GET_BPP(desc) PFGET_BPP(desc.ddpfPixelFormat)
|
|
||||||
|
|
||||||
#define DDRAW_INVALID_HANDLE ~0U
|
#define DDRAW_INVALID_HANDLE ~0U
|
||||||
|
|
||||||
enum ddraw_handle_type
|
enum ddraw_handle_type
|
||||||
|
|
Loading…
Reference in New Issue