Files
bgfx/examples
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-01-14 01:56:36 -08:00
2024-03-29 16:36:55 -07:00
2023-11-03 21:36:00 -07:00
2023-11-03 21:36:00 -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-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-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-29 16:36:55 -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
2023-11-03 21:36:00 -07:00
2023-11-03 21:36:00 -07:00
2023-11-03 21:36:00 -07:00
2024-01-14 01:56:36 -08:00
2024-01-14 01:56:36 -08:00
2023-12-01 20:51:28 -08:00
2024-01-14 01:56:36 -08:00