Currently includes: * dx9 error formatting helpers. Turn error codes into readable text * Vertex struct and helper function
24 lines
665 B
C
24 lines
665 B
C
// Source:
|
|
// https://github.com/Alexpux/mingw-w64/blob/master/mingw-w64-crt/libsrc/dxerr9.c
|
|
/*
|
|
|
|
dxerr9.c - DirectX 9 Error Functions
|
|
|
|
Written by Filip Navara <xnavara@volny.cz>
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
*/
|
|
|
|
#define DXGetErrorString DXGetErrorString9A
|
|
#define DXGetErrorDescription DXGetErrorDescription9A
|
|
#define DXTrace DXTraceA
|
|
#define DXERROR9(v, n, d) {v, n, d},
|
|
#define DXERROR9LAST(v, n, d) \
|
|
{ \
|
|
v, n, d \
|
|
}
|
|
#include "dxerr.c"
|