displays "Primary Display Adapter" now

This commit is contained in:
Aaron Robinson 2003-06-18 17:03:48 +00:00
parent e190fd17dc
commit c2358afe6b
3 changed files with 15 additions and 3 deletions

View File

@ -1,5 +1,14 @@
cxbx website: http://www.caustik.com/xbox/
version: 0.7.3 (06/18/03)
--------------------------------
- Meshes
- Indexed [primitive/vertex] rendering
- Texture fixes (some users couldn't see them!)
version: 0.7.2 (06/13/03)
--------------------------------

View File

@ -67,9 +67,9 @@ typedef signed long sint32;
// * Version information
// ******************************************************************
#ifndef _DEBUG_TRACE
#define _CXBX_VERSION "0.7.2"
#define _CXBX_VERSION "0.7.3"
#else
#define _CXBX_VERSION "0.7.2-Trace"
#define _CXBX_VERSION "0.7.3-Trace"
#endif
// ******************************************************************

View File

@ -125,7 +125,10 @@ INT_PTR CALLBACK DlgVideoConfigProc(HWND hWndDlg, UINT uMsg, WPARAM wParam, LPAR
{
g_pD3D8->GetAdapterIdentifier(v, D3DENUM_NO_WHQL_LEVEL, &AdapterIdentifier);
SendMessage(g_hDisplayAdapter, CB_ADDSTRING, 0, (LPARAM)AdapterIdentifier.Description);
if(v == 0)
SendMessage(g_hDisplayAdapter, CB_ADDSTRING, 0, (LPARAM)"Primary Display Adapter");
else
SendMessage(g_hDisplayAdapter, CB_ADDSTRING, 0, (LPARAM)AdapterIdentifier.Description);
}
}