fixed closing window crash, thanks Philipp!
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1495 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
242d359f5b
commit
d657a564e5
@ -628,6 +628,7 @@ void fgPlatformProcessSingleEvent ( void )
|
||||
switch( event.type )
|
||||
{
|
||||
case ClientMessage:
|
||||
if (fgStructure.CurrentWindow)
|
||||
if(fgIsSpaceballXEvent(&event)) {
|
||||
fgSpaceballHandleXEvent(&event);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user