Merge pull request #717 from Aty-0/bluenoise-micro-fix
Fix traditional render tries to load bluenoise, #710
This commit is contained in:
commit
57fcd5aea8
|
@ -176,6 +176,7 @@ qboolean R_VkTexturesInit( void ) {
|
|||
}
|
||||
}
|
||||
|
||||
if (vk_core.rtx)
|
||||
loadBlueNoiseTextures();
|
||||
|
||||
return true;
|
||||
|
@ -186,6 +187,7 @@ static void textureDestroy( unsigned int index );
|
|||
void R_VkTexturesShutdown( void ) {
|
||||
R_VkTexturesSkyboxUnload();
|
||||
R_VkTextureDestroy(-1, &g_vktextures.cubemap_placeholder);
|
||||
if (vk_core.rtx)
|
||||
R_VkTextureDestroy(-1, &g_vktextures.blue_noise);
|
||||
|
||||
for (int i = 0; i < COUNTOF(g_vktextures.samplers); ++i) {
|
||||
|
|
Loading…
Reference in New Issue