bug fixes

This commit is contained in:
Chris Danford
2002-02-28 19:40:40 +00:00
parent 9000d0e4de
commit a6b3663a3c
24 changed files with 961 additions and 115 deletions
+4 -4
View File
@@ -23,7 +23,7 @@
#include "dxerr8.h"
#include "DXUtil.h"
#include "RageUtil.h"
#include "GameInfo.h"
#include "PrefsManager.h"
//#include <stdio.h>
#include <assert.h>
@@ -92,9 +92,9 @@ void RageBitmapTexture::Create( DWORD dwHints )
// if the user has requested high color textures, use the higher color
if( GAMEINFO != NULL
&& GAMEINFO->m_GameOptions.m_iDisplayColor == 32
&& GAMEINFO->m_GameOptions.m_iTextureColor == 32 )
if( PREFS != NULL
&& PREFS->m_GameOptions.m_iDisplayColor == 32
&& PREFS->m_GameOptions.m_iTextureColor == 32 )
{
fmtTexture = D3DFMT_A8R8G8B8;
}