This commit is contained in:
Jonathan Young 2013-09-21 19:37:12 +10:00
parent 4c7a2c5de3
commit b3983e582a
2 changed files with 2 additions and 2 deletions

View file

@ -626,7 +626,7 @@ static void R_CheckPortableExtensions()
if( r_debugContext.GetInteger() >= 1 )
{
qglDebugMessageCallbackARB( (GLDEBUGPROCARB)DebugCallback, NULL );
qglDebugMessageCallbackARB( ( GLDEBUGPROCARB )DebugCallback, NULL );
}
if( r_debugContext.GetInteger() >= 2 )
{

View file

@ -891,7 +891,7 @@ sysEvent_t Sys_GetEvent()
// SDL2 has no ev.key.keysym.unicode anymore.. but the scancode should work well enough for console
if( ev.type == SDL_KEYDOWN ) // FIXME: don't complain if this was an ASCII char and the console is open?
common->Warning( "unmapped SDL key %d scancode %d", ev.key.keysym.sym, ev.key.keysym.scancode );
return res_none;
#else
unsigned char uc = ev.key.keysym.unicode & 0xff;