* Change window title
This commit is contained in:
parent
4f55e9f989
commit
f63472025f
5 changed files with 11 additions and 14 deletions
|
@ -57,8 +57,6 @@ typedef enum {
|
|||
#define TRY_PFD_FAIL_SOFT 1
|
||||
#define TRY_PFD_FAIL_HARD 2
|
||||
|
||||
#define WINDOW_CLASS_NAME "Quake 3: Arena"
|
||||
|
||||
static void GLW_InitExtensions( void );
|
||||
static rserr_t GLW_SetMode( const char *drivername,
|
||||
int mode,
|
||||
|
@ -600,7 +598,7 @@ static qboolean GLW_CreateWindow( const char *drivername, int width, int height,
|
|||
wc.hCursor = LoadCursor (NULL,IDC_ARROW);
|
||||
wc.hbrBackground = (void *)COLOR_GRAYTEXT;
|
||||
wc.lpszMenuName = 0;
|
||||
wc.lpszClassName = WINDOW_CLASS_NAME;
|
||||
wc.lpszClassName = CLIENT_WINDOW_TITLE;
|
||||
|
||||
if ( !RegisterClass( &wc ) )
|
||||
{
|
||||
|
@ -669,8 +667,8 @@ static qboolean GLW_CreateWindow( const char *drivername, int width, int height,
|
|||
|
||||
g_wv.hWnd = CreateWindowEx (
|
||||
exstyle,
|
||||
WINDOW_CLASS_NAME,
|
||||
"Quake 3: Arena",
|
||||
CLIENT_WINDOW_TITLE,
|
||||
CLIENT_WINDOW_TITLE,
|
||||
stylebits,
|
||||
x, y, w, h,
|
||||
NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue