mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-01-31 13:40:38 +00:00
Disable editor related rendering
These use OpenGL calls, which are useless on all platforms without editor support.
This commit is contained in:
parent
7f3fc825ed
commit
30d5cb16d0
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue