mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 08:27:39 +00:00
[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:
parent
1447d9297d
commit
a0c21069fa
1 changed files with 1 additions and 1 deletions
|
@ -1546,7 +1546,7 @@ Vulkan_LoadSkys (const char *sky, vulkan_ctx_t *ctx)
|
||||||
}
|
}
|
||||||
if (bctx->skybox_tex) {
|
if (bctx->skybox_tex) {
|
||||||
bctx->skybox_descriptor
|
bctx->skybox_descriptor
|
||||||
= Vulkan_CreateTextureDescriptor (ctx, bctx->default_skybox,
|
= Vulkan_CreateTextureDescriptor (ctx, bctx->skybox_tex,
|
||||||
bctx->sampler);
|
bctx->sampler);
|
||||||
Sys_MaskPrintf (SYS_vulkan, "Skybox %s loaded\n", sky);
|
Sys_MaskPrintf (SYS_vulkan, "Skybox %s loaded\n", sky);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue