SpiecsEngine
 
Loading...
Searching...
No Matches

◆ KTX_CHECK

#define KTX_CHECK ( expr)
Value:
{ \
if (expr == KTX_SUCCESS) {} \
else \
{ \
std::stringstream ss; \
ss << "Assert Failed \n At File: " << __FILE__ << " \n At Line: " << __LINE__ << "\n "; \
SPICES_CORE_ERROR(ss.str()); \
} \
}

Definition at line 20 of file Transcoder.cpp.

20#define KTX_CHECK(expr) \
21 { \
22 if (expr == KTX_SUCCESS) {} \
23 else \
24 { \
25 std::stringstream ss; \
26 ss << "Assert Failed \n At File: " << __FILE__ << " \n At Line: " << __LINE__ << "\n "; \
27 SPICES_CORE_ERROR(ss.str()); \
28 } \
29 }