Commit 33859903 authored by Raphael Junqueira's avatar Raphael Junqueira Committed by Alexandre Julliard

- declare a new debug chanel for vertex shaders

- some useful debug functions for textures format - correct DrawPrimitive (RHW correctness and vshader RHW) - more copyrects fixes (only two unimplemented behavior remain) - fix GetFrontBuffer to get screenshots samples working - add D3DCOLORTOGLFLOAT4 and use it - first try of D3DRS_FOGTABLEMODE support
parent 128fd349
......@@ -173,7 +173,11 @@ void CreateStateBlock(LPDIRECT3DDEVICE8 iface);
(vec).z = D3DCOLOR_B(dw); \
(vec).w = D3DCOLOR_A(dw);
#define D3DCOLORTOGLFLOAT4(dw, vec) \
(vec)[0] = D3DCOLOR_R(dw); \
(vec)[1] = D3DCOLOR_G(dw); \
(vec)[2] = D3DCOLOR_B(dw); \
(vec)[3] = D3DCOLOR_A(dw);
/* ===========================================================================
The interfactes themselves
......@@ -1125,4 +1129,10 @@ GLint fmt2glintFmt(D3DFORMAT fmt);
GLenum fmt2glFmt(D3DFORMAT fmt);
DWORD fmt2glType(D3DFORMAT fmt);
/**
* Internals debug functions
*/
const char* debug_d3dformat(D3DFORMAT fmt);
const char* debug_d3dressourcetype(D3DRESOURCETYPE res);
#endif /* __WINE_D3DX8_PRIVATE_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment