Permalink
Browse files

Disable editor related rendering

These use OpenGL calls, which are useless on all platforms without
editor support.
  • Loading branch information...
dhewg
dhewg committed Jul 18, 2012
1 parent 7f3fc82 commit 30d5cb16d068a452eb4a7d542e096d8d9a8d5e27
Showing with 3 additions and 3 deletions.
  1. +1 −1 neo/tools/compilers/dmap/gldraw.cpp
  2. +2 −2 neo/tools/compilers/renderbump/renderbump.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 <GL/gl.h>
@@ -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;

0 comments on commit 30d5cb1

Please sign in to comment.