ref: 150b8ab17cc4b91d8fe73da0c96d087dd93b2d4f
dir: /src/error_check_no_context.h/
#ifndef RETVAL #define RETVAL /* a comment*/ #endif #if TGL_FEATURE_ERROR_CHECK == 1 GLContext* c = gl_get_context(); //#error should never execute #if TGL_FEATURE_STRICT_OOM_CHECKS == 1 if(c->error_flag == GL_OUT_OF_MEMORY) return RETVAL; #endif #endif #undef RETVAL