From 852b7c28ba0cefdd1fca72cb0ee0da6fda3b9413 Mon Sep 17 00:00:00 2001 From: NightFox <0x4E69676874466F78@users.noreply.github.com> Date: Tue, 12 Dec 2023 14:56:35 +0300 Subject: [PATCH] Slight improvement of code --- ref/vk/vk_core.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/ref/vk/vk_core.c b/ref/vk/vk_core.c index 67b10bec..235883f9 100644 --- a/ref/vk/vk_core.c +++ b/ref/vk/vk_core.c @@ -426,17 +426,15 @@ static int enumerateDevices( vk_available_device_t **available_devices ) { this_device->calibrated_timestamps = deviceSupportsExtensions(extensions, num_device_extensions, device_extensions_extra, ARRAYSIZE(device_extensions_extra)); if (!this_device->ray_tracing) { - #if defined XASH_64BIT - gEngine.Con_Printf( "^6================================================^7\n" ); - gEngine.Con_Printf(S_ERROR "^1No ray tracing extensions found.\n^3Check that you have compatible hardware and drivers.^7\n"); - gEngine.Con_Printf( "^6================================================^7\n" ); - #else - gEngine.Con_Printf( "^6================================================^7\n" ); + gEngine.Con_Printf( "^6===================================================^7\n" ); gEngine.Con_Printf(S_ERROR "^1No ray tracing extensions found.^7\n"); + #if defined XASH_64BIT + gEngine.Con_Printf(S_NOTE "^3Check that you have compatible hardware and drivers.^7\n"); + #else gEngine.Con_Printf(S_WARN "^3You're running in ^132-bit ^3mode!^7\n"); gEngine.Con_Printf(S_NOTE "^3Ray Tracing REQUIRES ^264-bit ^3process!\n^5Please rebuild and start the 64-bit xash3d binary.^7\n"); - gEngine.Con_Printf( "^6================================================^7\n" ); #endif + gEngine.Con_Printf( "^6===================================================^7\n" ); } Mem_Free(extensions);