mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
add more custom screen resolutions, fix build
This commit is contained in:
@@ -2286,7 +2286,9 @@ bool CVideoMode_MaterialSystem::Init( )
|
||||
int bitsperpixel = 32;
|
||||
|
||||
bool bAllowSmallModes = false;
|
||||
#ifndef ANDROID
|
||||
if ( CommandLine()->FindParm( "-small" ) )
|
||||
#endif
|
||||
{
|
||||
bAllowSmallModes = true;
|
||||
}
|
||||
|
||||
@@ -355,7 +355,7 @@ void CGame::HandleMsg_Close( const InputEvent_t &event )
|
||||
|
||||
void CGame::DispatchInputEvent( const InputEvent_t &event )
|
||||
{
|
||||
switch( event.m_nType )
|
||||
switch( event.m_nType & 0xFFFF )
|
||||
{
|
||||
// Handle button events specially,
|
||||
// since we have all manner of crazy filtering going on when dealing with them
|
||||
|
||||
Reference in New Issue
Block a user