mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: ref_api: fix typo in the comment (thanks @lewa_j)
This commit is contained in:
@@ -1182,8 +1182,11 @@ ref_window_type_t R_GetWindowHandle( void **handle, ref_window_type_t type )
|
||||
|
||||
SDL_VERSION( &wmInfo.version );
|
||||
|
||||
if( SDL_GetWindowWMInfo( host.hWnd, &wmInfo ))
|
||||
if( !SDL_GetWindowWMInfo( host.hWnd, &wmInfo ))
|
||||
{
|
||||
Con_Reportf( S_ERROR "%s: SDL_GetWindowWMInfo: %s\n", __func__, SDL_GetError( ));
|
||||
return REF_WINDOW_TYPE_NULL;
|
||||
}
|
||||
|
||||
switch( wmInfo.subsystem )
|
||||
{
|
||||
|
||||
@@ -671,7 +671,7 @@ typedef int (*REFAPI)( int version, ref_interface_t *pFunctionTable, ref_api_t*
|
||||
#define ENGINE_SHARED_CVAR( f, x ) ENGINE_SHARED_CVAR_NAME( f, x, x )
|
||||
|
||||
// cvars that's logic is shared between renderer and engine
|
||||
// actually, they are just created on engine side for convinience
|
||||
// actually, they are just created on engine side for convenience
|
||||
// and must be retrieved by renderer side
|
||||
// sometimes it's done to standartize cvars to make it easier for users
|
||||
#define ENGINE_SHARED_CVAR_LIST( f ) \
|
||||
|
||||
Reference in New Issue
Block a user