Commit a2e545ad authored by SR_team's avatar SR_team 💬

fixes and format

parent 97916b8b
This diff is collapsed.
......@@ -42,10 +42,10 @@ typedef struct d3dvertex_s {
// Initialization Macros
#undef SAFE_RELEASE
#define SAFE_RELEASE( d ) \
if ( d ) { \
d->Release(); \
d = NULL; \
#define SAFE_RELEASE( d ) \
if ( d ) { \
d->Release(); \
d = NULL; \
}
#define D3DFVF_XYZ 0x002
......@@ -127,8 +127,8 @@ struct stFontInfo {
float m_fChrHeight;
stFontInfo() {
m_pD3Dtex = nullptr;
m_pD3Dbuf = nullptr;
m_pD3Dtex = nullptr;
m_pD3Dbuf = nullptr;
m_chrSpacing = 0;
memset( m_fTexCoords, 0, sizeof( float ) * 224 * 4 );
m_fChrHeight = 0.0;
......
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