diff --git a/src/renderer/AsyncResourceGatherer.hpp b/src/renderer/AsyncResourceGatherer.hpp index 50c8d99..ff734a4 100644 --- a/src/renderer/AsyncResourceGatherer.hpp +++ b/src/renderer/AsyncResourceGatherer.hpp @@ -38,7 +38,9 @@ class CAsyncResourceGatherer { std::unordered_map props; - // optional + // optional. Callbacks will be dispatched from the main thread, + // so wayland/gl calls are OK. + // will fire once the resource is fully loaded and ready. void (*callback)(void*) = nullptr; void* callbackData = nullptr; };