[vulkan] Bind the correct texture for sky boxes

That took way too long to find: just couldn't see it for looking.
This commit is contained in:
Bill Currie 2022-02-18 01:17:25 +09:00
parent 1447d9297d
commit a0c21069fa

View file

@ -1546,7 +1546,7 @@ Vulkan_LoadSkys (const char *sky, vulkan_ctx_t *ctx)
}
if (bctx->skybox_tex) {
bctx->skybox_descriptor
= Vulkan_CreateTextureDescriptor (ctx, bctx->default_skybox,
= Vulkan_CreateTextureDescriptor (ctx, bctx->skybox_tex,
bctx->sampler);
Sys_MaskPrintf (SYS_vulkan, "Skybox %s loaded\n", sky);
}