diff options
Diffstat (limited to 'stockton-render/src/draw/ui/texture.rs')
-rwxr-xr-x | stockton-render/src/draw/ui/texture.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stockton-render/src/draw/ui/texture.rs b/stockton-render/src/draw/ui/texture.rs index ce18f02..52580e5 100755 --- a/stockton-render/src/draw/ui/texture.rs +++ b/stockton-render/src/draw/ui/texture.rs @@ -43,12 +43,13 @@ impl LoadableImage for &Texture { pub fn ensure_textures(texture_store: &mut TextureStore, ui: &mut UIState, device: &mut Device, adapter: &mut Adapter, + allocator: &mut DynamicAllocator, command_queue: &mut CommandQueue, command_pool: &mut CommandPool) { let tex = ui.ctx.texture(); if tex.version != ui.last_tex_ver { - texture_store.put_texture(0, &*tex, device, adapter, command_queue, command_pool).unwrap(); // TODO + texture_store.put_texture(0, &*tex, device, adapter, allocator, command_queue, command_pool).unwrap(); // TODO ui.last_tex_ver = tex.version; } }
\ No newline at end of file |