Added log rendering for D3DLOCKED_RECT and RECT
This commit is contained in:
parent
51300691c7
commit
0a67cd3eda
|
@ -62,6 +62,28 @@ ENUM2STR_START(D3DPOOL)
|
|||
ENUM2STR_CASE(D3DPOOL_SYSTEMMEM)
|
||||
ENUM2STR_END_and_LOGRENDER(D3DPOOL)
|
||||
|
||||
|
||||
//
|
||||
// Host D3D LOGRENDER(Type) implementations
|
||||
//
|
||||
|
||||
LOGRENDER(D3DLOCKED_RECT)
|
||||
{
|
||||
return os
|
||||
LOGRENDER_MEMBER(Pitch)
|
||||
LOGRENDER_MEMBER(pBits);
|
||||
}
|
||||
|
||||
LOGRENDER(RECT)
|
||||
{
|
||||
return os
|
||||
LOGRENDER_MEMBER(left)
|
||||
LOGRENDER_MEMBER(top)
|
||||
LOGRENDER_MEMBER(right)
|
||||
LOGRENDER_MEMBER(bottom);
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Xbox D3D LOGRENDER(Type) implementations
|
||||
//
|
||||
|
|
|
@ -45,12 +45,19 @@ namespace XTL
|
|||
#include "EmuD3D8Types.h"
|
||||
|
||||
//
|
||||
// Host D3D LOGRENDER_HEADER(Type) declarations
|
||||
// Headers for rendering host D3D enum types :
|
||||
//
|
||||
|
||||
ENUM2STR_HEADER(D3DCUBEMAP_FACES)
|
||||
ENUM2STR_HEADER(D3DPOOL)
|
||||
|
||||
//
|
||||
// Host D3D LOGRENDER_HEADER(Type) declarations
|
||||
//
|
||||
|
||||
LOGRENDER_HEADER(D3DLOCKED_RECT)
|
||||
LOGRENDER_HEADER(RECT);
|
||||
|
||||
//
|
||||
// Headers for rendering Xbox D3D enum types :
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue