From 30d5cb16d068a452eb4a7d542e096d8d9a8d5e27 Mon Sep 17 00:00:00 2001 From: dhewg Date: Thu, 19 Jul 2012 00:41:43 +0200 Subject: [PATCH] Disable editor related rendering These use OpenGL calls, which are useless on all platforms without editor support. --- neo/tools/compilers/dmap/gldraw.cpp | 2 +- neo/tools/compilers/renderbump/renderbump.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/neo/tools/compilers/dmap/gldraw.cpp b/neo/tools/compilers/dmap/gldraw.cpp index b9e6c590..5879ac51 100644 --- a/neo/tools/compilers/dmap/gldraw.cpp +++ b/neo/tools/compilers/dmap/gldraw.cpp @@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms #include "sys/platform.h" #include "tools/compilers/dmap/dmap.h" -#ifdef WIN32 +#if 0 // FIXME #include "sys/win32/win_local.h" #include diff --git a/neo/tools/compilers/renderbump/renderbump.cpp b/neo/tools/compilers/renderbump/renderbump.cpp index ac3992e8..8997835e 100644 --- a/neo/tools/compilers/renderbump/renderbump.cpp +++ b/neo/tools/compilers/renderbump/renderbump.cpp @@ -123,7 +123,7 @@ ResizeWindow =============== */ static void ResizeWindow( int width, int height ) { -#ifdef WIN32 +#if 0 // FIXME int winWidth, winHeight; if ( glConfig.isFullscreen ) { winWidth = width; @@ -154,7 +154,7 @@ RestoreWindow =============== */ static void RestoreWindow( void ) { -#ifdef WIN32 +#if 0 // FIXME int winWidth, winHeight; if ( glConfig.isFullscreen ) { winWidth = oldWidth;