From 4a7d0d19547a75ec1c23ed8b621fe0d3bb904a66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Mon, 20 Jul 2015 19:49:51 -0700 Subject: [PATCH] Updated docs. --- include/bgfx.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/include/bgfx.h b/include/bgfx.h index 7aae68ff..6e14f1ae 100644 --- a/include/bgfx.h +++ b/include/bgfx.h @@ -218,8 +218,8 @@ namespace bgfx /// Cached items are currently used only for OpenGL binary shaders. /// /// @remarks - /// 'fatal' callback can be called from any thread. Other callbacks - /// are called from the render thread. + /// 'fatal' and 'trace' callbacks can be called from any thread. Other + /// callbacks are called from the render thread. /// struct CallbackI { @@ -232,12 +232,18 @@ namespace bgfx /// @param[in] _code Fatal error code. /// @param[in] _str More information about error. /// + /// @remarks + /// Not thread safe and it can be called from any thread. + /// virtual void fatal(Fatal::Enum _code, const char* _str) = 0; /// Print debug message. /// /// @param[in] _str Message. /// + /// @remarks + /// Not thread safe and it can be called from any thread. + /// virtual void trace(const char* _str) = 0; /// Return size of for cached item. Return 0 if no cached item was