mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-28 14:52:01 +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
|
* which is supposed to be the name of the
|
||||||
* function in which the error occurred:
|
* function in which the error occurred:
|
||||||
*/
|
*/
|
||||||
printf( "\n%s ", name );
|
//printf( "\n%s ", name );
|
||||||
|
|
||||||
/* Set global error message word */
|
/* Set global error message word */
|
||||||
merror = code;
|
merror = code;
|
||||||
|
@ -116,7 +116,7 @@ merror = code;
|
||||||
*/
|
*/
|
||||||
if( (code <= 0) || (code >= 7) )
|
if( (code <= 0) || (code >= 7) )
|
||||||
code = 0;
|
code = 0;
|
||||||
printf( "%s error\n", ermsg[code] );
|
//printf( "%s error\n", ermsg[code] );
|
||||||
|
|
||||||
/* Return to calling
|
/* Return to calling
|
||||||
* program
|
* program
|
||||||
|
|
Loading…
Reference in a new issue