Henri Verbeet : ddraw: Get rid of some unused macros.
Module: wine Branch: master Commit: b741cd02c3645cbc18eb59a04d3c04447a08d8b2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b741cd02c3645cbc18eb59a04d... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Wed Sep 14 20:17:29 2011 +0200 ddraw: Get rid of some unused macros. --- dlls/ddraw/ddraw_private.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/dlls/ddraw/ddraw_private.h b/dlls/ddraw/ddraw_private.h index 7737b12..9721915 100644 --- a/dlls/ddraw/ddraw_private.h +++ b/dlls/ddraw/ddraw_private.h @@ -242,10 +242,6 @@ IDirectDrawSurfaceImpl *unsafe_impl_from_IDirectDrawSurface7(IDirectDrawSurface7 IDirectDrawSurfaceImpl *unsafe_impl_from_IDirect3DTexture(IDirect3DTexture *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 enum ddraw_handle_type
participants (1)
-
Alexandre Julliard