Silence GLESv2 translator on errors we're not interested in
This commit is contained in:
parent
5619662b0b
commit
0ee3c3aad9
1 changed files with 0 additions and 2 deletions
|
|
@ -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; \
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue