mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-21 19:51:27 +00:00
- don't spam the console log if there's math errors - mostly affects Linux/MacOS because there is no distinction from console apps or GUI apps so they put all the data in the console which can cause lag
This commit is contained in:
parent
6c4b25930b
commit
24792913ca
1 changed files with 2 additions and 2 deletions
4
src/common/thirdparty/math/mtherr.c
vendored
4
src/common/thirdparty/math/mtherr.c
vendored
|
@ -106,7 +106,7 @@ int mtherr(char* name, int code)
|
|||
* which is supposed to be the name of the
|
||||
* function in which the error occurred:
|
||||
*/
|
||||
printf( "\n%s ", name );
|
||||
//printf( "\n%s ", name );
|
||||
|
||||
/* Set global error message word */
|
||||
merror = code;
|
||||
|
@ -116,7 +116,7 @@ merror = code;
|
|||
*/
|
||||
if( (code <= 0) || (code >= 7) )
|
||||
code = 0;
|
||||
printf( "%s error\n", ermsg[code] );
|
||||
//printf( "%s error\n", ermsg[code] );
|
||||
|
||||
/* Return to calling
|
||||
* program
|
||||
|
|
Loading…
Reference in a new issue