test commite after migration
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5401 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 34801481b655b756bddcdf05b68d54460520eb40 Former-commit-id: 3e15136ac4921d7c066541185fc9862df0fb6f3b
This commit is contained in:
parent
914245f99f
commit
990745d2a2
1 changed files with 9 additions and 6 deletions
|
@ -45,15 +45,18 @@ SDScenery *scenery = NULL;
|
||||||
SDRender *render = NULL;
|
SDRender *render = NULL;
|
||||||
SDScreens * screens = NULL;
|
SDScreens * screens = NULL;
|
||||||
|
|
||||||
void *getScreens(){
|
void *getScreens()
|
||||||
|
{
|
||||||
return screens;
|
return screens;
|
||||||
}
|
}
|
||||||
|
|
||||||
void *getRender(){
|
void *getRender()
|
||||||
|
{
|
||||||
return render;
|
return render;
|
||||||
}
|
}
|
||||||
|
|
||||||
void * getCars(){
|
void * getCars()
|
||||||
|
{
|
||||||
return cars;
|
return cars;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -107,11 +110,11 @@ PFNGLCLIENTACTIVETEXTUREARBPROC glClientActiveTextureARB = NULL;
|
||||||
// Set up OpenGL features from user settings.
|
// Set up OpenGL features from user settings.
|
||||||
static void setupOpenGLFeatures(void)
|
static void setupOpenGLFeatures(void)
|
||||||
{
|
{
|
||||||
static bool bInitialized = false;
|
static bool bInitialized = false;
|
||||||
|
|
||||||
// Don't do it twice.
|
// Don't do it twice.
|
||||||
if (bInitialized)
|
if (bInitialized)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Multi-texturing.
|
// Multi-texturing.
|
||||||
grMaxTextureUnits = 1;
|
grMaxTextureUnits = 1;
|
||||||
|
|
Loading…
Reference in a new issue