Enable retexturing by default and dump real image sizes

This commit is contained in:
Denis Pauk 2020-12-01 23:09:27 +02:00 committed by Yamagi
parent e3b387f7e7
commit 1a4d495028
2 changed files with 4 additions and 3 deletions

View file

@ -561,8 +561,9 @@ void Vk_ImageList_f (void)
break;
}
R_Printf(PRINT_ALL, " %3i %3i RGB: %s\n",
image->upload_width, image->upload_height, image->name);
R_Printf(PRINT_ALL, " %4i %4i RGB: %s (%dx%d)\n",
image->upload_width, image->upload_height, image->name,
image->width, image->height);
}
R_Printf(PRINT_ALL, "Total texel count (not counting mipmaps): %i\n", texels);
}

View file

@ -1176,7 +1176,7 @@ R_Register( void )
vk_mip_nearfilter = ri.Cvar_Get("vk_mip_nearfilter", "0", CVAR_ARCHIVE);
vk_sampleshading = ri.Cvar_Get("vk_sampleshading", "1", CVAR_ARCHIVE);
vk_device_idx = ri.Cvar_Get("vk_device", "-1", CVAR_ARCHIVE);
vk_retexturing = ri.Cvar_Get("vk_retexturing", "0", CVAR_ARCHIVE);
vk_retexturing = ri.Cvar_Get("vk_retexturing", "1", CVAR_ARCHIVE);
// clamp vk_msaa to accepted range so that video menu doesn't crash on us
if (vk_msaa->value < 0)