From 990745d2a2486bd80a1b3de7e41bd847a6ebb5b5 Mon Sep 17 00:00:00 2001 From: torcs-ng Date: Sat, 13 Apr 2013 17:45:52 +0000 Subject: [PATCH] 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 --- src/modules/graphic/osggraph/OsgMain.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/modules/graphic/osggraph/OsgMain.cpp b/src/modules/graphic/osggraph/OsgMain.cpp index 4aa6d19e6..3207e7e6b 100644 --- a/src/modules/graphic/osggraph/OsgMain.cpp +++ b/src/modules/graphic/osggraph/OsgMain.cpp @@ -45,15 +45,18 @@ SDScenery *scenery = NULL; SDRender *render = NULL; SDScreens * screens = NULL; -void *getScreens(){ +void *getScreens() +{ return screens; } -void *getRender(){ +void *getRender() +{ return render; } -void * getCars(){ +void * getCars() +{ return cars; } @@ -107,11 +110,11 @@ PFNGLCLIENTACTIVETEXTUREARBPROC glClientActiveTextureARB = NULL; // Set up OpenGL features from user settings. static void setupOpenGLFeatures(void) { - static bool bInitialized = false; + static bool bInitialized = false; - // Don't do it twice. + // Don't do it twice. if (bInitialized) - return; + return; // Multi-texturing. grMaxTextureUnits = 1;