mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2024-12-02 08:51:57 +00:00
astyle
This commit is contained in:
parent
4c7a2c5de3
commit
b3983e582a
2 changed files with 2 additions and 2 deletions
|
@ -626,7 +626,7 @@ static void R_CheckPortableExtensions()
|
||||||
|
|
||||||
if( r_debugContext.GetInteger() >= 1 )
|
if( r_debugContext.GetInteger() >= 1 )
|
||||||
{
|
{
|
||||||
qglDebugMessageCallbackARB( (GLDEBUGPROCARB)DebugCallback, NULL );
|
qglDebugMessageCallbackARB( ( GLDEBUGPROCARB )DebugCallback, NULL );
|
||||||
}
|
}
|
||||||
if( r_debugContext.GetInteger() >= 2 )
|
if( r_debugContext.GetInteger() >= 2 )
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
// 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?
|
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 );
|
common->Warning( "unmapped SDL key %d scancode %d", ev.key.keysym.sym, ev.key.keysym.scancode );
|
||||||
|
|
||||||
return res_none;
|
return res_none;
|
||||||
#else
|
#else
|
||||||
unsigned char uc = ev.key.keysym.unicode & 0xff;
|
unsigned char uc = ev.key.keysym.unicode & 0xff;
|
||||||
|
|
Loading…
Reference in a new issue