- add menu patching for GL 2.x mode.

- use stdint types in model code, because we have to start somewhere with the transition.
This commit is contained in:
Christoph Oelckers 2016-05-01 13:09:13 +02:00
commit 50ba1ecde8
4 changed files with 78 additions and 30 deletions

View file

@ -47,12 +47,10 @@
#include "gl/system/gl_interface.h"
#include "gl/system/gl_cvars.h"
void gl_PatchMenu();
static TArray<FString> m_Extensions;
RenderContext gl;
int occlusion_type=0;
//==========================================================================
//
//
@ -273,6 +271,7 @@ void gl_LoadExtensions()
FUDGE_FUNC(glDeleteRenderbuffers, EXT);
FUDGE_FUNC(glRenderbufferStorage, EXT);
FUDGE_FUNC(glBindRenderbuffer, EXT);
gl_PatchMenu();
}
//==========================================================================