MCPcopy Create free account
hub / github.com/RenderKit/embree / getThreadErrorCode

Method getThreadErrorCode

kernels/common/device.cpp:294–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292 }
293
294 RTCError Device::getThreadErrorCode()
295 {
296 RTCErrorMessage* stored_error = g_errorHandler.error();
297 RTCErrorMessage error = *stored_error;
298 stored_error->error = RTC_ERROR_NONE;
299 return error.error;
300 }
301
302 const char* Device::getThreadLastErrorMessage()
303 {

Callers

nothing calls this directly

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected