From 0ee3c3aad99a87dcc7c1625b23ca355ded8cc628 Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Fri, 11 Nov 2016 11:35:03 +0100 Subject: [PATCH] Silence GLESv2 translator on errors we're not interested in --- .../host/libs/Translator/include/GLcommon/GLESmacros.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/external/android-emugl/host/libs/Translator/include/GLcommon/GLESmacros.h b/external/android-emugl/host/libs/Translator/include/GLcommon/GLESmacros.h index 15e5d04..c66602c 100644 --- a/external/android-emugl/host/libs/Translator/include/GLcommon/GLESmacros.h +++ b/external/android-emugl/host/libs/Translator/include/GLcommon/GLESmacros.h @@ -33,14 +33,12 @@ #define SET_ERROR_IF(condition,err) if((condition)) { \ - fprintf(stderr, "%s:%s:%d error 0x%x\n", __FILE__, __FUNCTION__, __LINE__, err); \ ctx->setGLerror(err); \ return; \ } #define RET_AND_SET_ERROR_IF(condition,err,ret) if((condition)) { \ - fprintf(stderr, "%s:%s:%d error 0x%x\n", __FILE__, __FUNCTION__, __LINE__, err); \ ctx->setGLerror(err); \ return ret; \ }