potential fix for annoying bug
This commit is contained in:
parent
20b6b8ae29
commit
d575db6f37
@ -64,7 +64,10 @@ buffer_for_fetch :: (type: Fetch_Type) -> (*u8, u64) {
|
|||||||
|
|
||||||
fetch_callback :: (res: *sfetch_response_t) #c_call {
|
fetch_callback :: (res: *sfetch_response_t) #c_call {
|
||||||
push_context,defer_pop default_context;
|
push_context,defer_pop default_context;
|
||||||
|
handle_fetch_response(res);
|
||||||
|
}
|
||||||
|
|
||||||
|
handle_fetch_response :: (res: *sfetch_response_t) {
|
||||||
req := g_asset_manager.current_fetch;
|
req := g_asset_manager.current_fetch;
|
||||||
g_asset_manager.is_fetching = false;
|
g_asset_manager.is_fetching = false;
|
||||||
if req.type == {
|
if req.type == {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user