From 7af5561c4848a55cbdd8c7cbddb6bf55de695c37 Mon Sep 17 00:00:00 2001 From: Ville Linde Date: Wed, 12 Jul 2006 19:11:46 +0000 Subject: [PATCH] --- win32/win_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/win32/win_main.c b/win32/win_main.c index 8d6beaf..bc74601 100644 --- a/win32/win_main.c +++ b/win32/win_main.c @@ -219,7 +219,7 @@ int main(int argc, char *argv[]) exit(1); } -#if RENDERER_D3D +#ifdef RENDERER_D3D if (d3d_pre_init() == FALSE) { message(0, "The video card doesn't meet the requirements, the program will not run further."); @@ -268,7 +268,7 @@ int main(int argc, char *argv[]) model3_init(); model3_reset(); -#if RENDERER_D3D +#ifdef RENDERER_D3D if (!d3d_init(main_window)) { message(0, "d3d_init failed."); @@ -338,7 +338,7 @@ int main(int argc, char *argv[]) time_start = time_end; } -#if RENDERER_D3D +#ifdef RENDERER_D3D if (m3_config.show_fps) { //fps = 1.0 / ((double)(time_end - time_start) / freq);