Do not assert unknow mouse button, rather show error message
This commit is contained in:
parent
7b08dbe318
commit
45fe4f673a
1 changed files with 4 additions and 2 deletions
|
@ -223,8 +223,10 @@ namespace gcn
|
|||
break;
|
||||
}
|
||||
|
||||
//throw GCN_EXCEPTION("Unknown SDL mouse type.");
|
||||
assert(!"Unknown SDL mouse type.");
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr,"Unknown SDL mouse button.\n");
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue