mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
the address of gpDxFuncs will always evaluate as true
svn path=/trunk/; revision=32008
This commit is contained in:
parent
4b0245fc44
commit
48598dcb2b
1 changed files with 5 additions and 8 deletions
|
@ -109,16 +109,13 @@ typedef BOOL (NTAPI *PGD_ENGUNLOCKDIRECTDRAWSURFACE)(PDD_SURFACE_LOCAL);
|
|||
|
||||
/* Standard macro */
|
||||
#define DXG_GET_INDEX_FUNCTION(INDEX, FUNCTION) \
|
||||
if (gpDxFuncs) \
|
||||
for (i = 0; i <= DXG_INDEX_DxDdIoctl; i++) \
|
||||
{ \
|
||||
for (i = 0; i <= DXG_INDEX_DxDdIoctl; i++) \
|
||||
if (gpDxFuncs[i].iFunc == INDEX) \
|
||||
{ \
|
||||
if (gpDxFuncs[i].iFunc == INDEX) \
|
||||
{ \
|
||||
FUNCTION = (VOID *)gpDxFuncs[i].pfn; \
|
||||
break; \
|
||||
} \
|
||||
} \
|
||||
FUNCTION = (VOID *)gpDxFuncs[i].pfn; \
|
||||
break; \
|
||||
} \
|
||||
}
|
||||
|
||||
/* Gammaramp internal prototype */
|
||||
|
|
Loading…
Reference in a new issue