mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-14 00:21:32 +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
0347d0d9af
commit
8bc21963e6
1 changed files with 2 additions and 2 deletions
4
source/common/thirdparty/math/mtherr.c
vendored
4
source/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