Disable editor related rendering

These use OpenGL calls, which are useless on all platforms without
editor support.
This commit is contained in:
dhewg 2012-07-19 00:41:43 +02:00
parent 7f3fc825ed
commit 30d5cb16d0
2 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms
#include "sys/platform.h" #include "sys/platform.h"
#include "tools/compilers/dmap/dmap.h" #include "tools/compilers/dmap/dmap.h"
#ifdef WIN32 #if 0 // FIXME
#include "sys/win32/win_local.h" #include "sys/win32/win_local.h"
#include <GL/gl.h> #include <GL/gl.h>

View file

@ -123,7 +123,7 @@ ResizeWindow
=============== ===============
*/ */
static void ResizeWindow( int width, int height ) { static void ResizeWindow( int width, int height ) {
#ifdef WIN32 #if 0 // FIXME
int winWidth, winHeight; int winWidth, winHeight;
if ( glConfig.isFullscreen ) { if ( glConfig.isFullscreen ) {
winWidth = width; winWidth = width;
@ -154,7 +154,7 @@ RestoreWindow
=============== ===============
*/ */
static void RestoreWindow( void ) { static void RestoreWindow( void ) {
#ifdef WIN32 #if 0 // FIXME
int winWidth, winHeight; int winWidth, winHeight;
if ( glConfig.isFullscreen ) { if ( glConfig.isFullscreen ) {
winWidth = oldWidth; winWidth = oldWidth;