|
@@ -399,11 +399,7 @@ HRESULT CD3DFont::RestoreDeviceObjects() {
|
|
|
// Desc: Destroys all device-dependent objects
|
|
// Desc: Destroys all device-dependent objects
|
|
|
//-----------------------------------------------------------------------------
|
|
//-----------------------------------------------------------------------------
|
|
|
HRESULT CD3DFont::InvalidateDeviceObjects() {
|
|
HRESULT CD3DFont::InvalidateDeviceObjects() {
|
|
|
- #ifdef _DEBUG
|
|
|
|
|
- if(m_pVB) {
|
|
|
|
|
- cout << "XXXX Releasing Font VertexBuffer\n";
|
|
|
|
|
- }
|
|
|
|
|
- #endif
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
SAFE_RELEASE( m_pVB );
|
|
SAFE_RELEASE( m_pVB );
|
|
|
|
|
|