This commit is contained in:
alexey.min 2012-02-06 10:04:13 +00:00
parent 043d61633e
commit 409ea0b6e7

View File

@ -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);
}