From 409ea0b6e7878a0ed4778fbfa546c4188285dd36 Mon Sep 17 00:00:00 2001 From: "alexey.min" Date: Mon, 6 Feb 2012 10:04:13 +0000 Subject: [PATCH] --- L2Detect_2/RadarDisplay.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/L2Detect_2/RadarDisplay.cpp b/L2Detect_2/RadarDisplay.cpp index 143e473..b3dcfdf 100644 --- a/L2Detect_2/RadarDisplay.cpp +++ b/L2Detect_2/RadarDisplay.cpp @@ -179,7 +179,8 @@ bool RadarDisplay::preload_surface_from_file( IDirect3DDevice9 *pdevice, IDirect log_error( LOG_ERROR, "RadarDisplay::preload_surface_from_file(): Failed to load [%ux%u] [%S]! Error: %d\n", width, height, fileName, hr ); } - else log_error( LOG_ERROR, "RadarDisplay::preload_surface_from_file(): Failed to create surface! Error: %d\n", hr ); + else + log_error( LOG_ERROR, "RadarDisplay::preload_surface_from_file(): Failed to create surface! Error: %d (0x%08X)\n", hr, hr ); return (hr == NO_ERROR); }