Files
bgfx/examples/common
Aleksandr Bazhin 1138cc0cc9 Examples: change order of calls in loadTexture() (#3281)
Fixes possible concurrency issue - makes code usable in a multithreaded environment. imageReleasCb releases imageContainer after bgfx::createTexture...() is called. If bgfx::frame() is called from another thread, the release can happen before imageContainer is used in bgfx::calcTextureSize(), leading to a crash. Although loadTexture() is not used in multithreaded environment in the examples, calling bgfx::calcTextureSize() before bgfx::createTexture...() is a better reference for users.
2024-04-24 21:25:35 -07:00
..
2024-01-14 01:56:36 -08:00
2024-01-14 01:56:36 -08:00
2024-01-14 01:56:36 -08:00
2024-01-14 01:56:36 -08:00
2024-01-14 01:56:36 -08:00
2024-01-14 01:56:36 -08:00
2024-01-14 01:56:36 -08:00
2024-03-27 19:59:59 -07:00
2022-01-15 11:59:06 -08:00
2024-01-14 01:56:36 -08:00
2024-01-14 01:56:36 -08:00
2022-01-15 11:59:06 -08:00
2022-01-15 11:59:06 -08:00
2024-01-14 01:56:36 -08:00
2024-01-14 01:56:36 -08:00
2024-01-14 01:56:36 -08:00