guard against concurrent OpenGL extension loading

This commit is contained in:
Konstantin Käfer
2015-02-13 16:11:42 -08:00
parent c30bb1a9f8
commit e8389d82cd
6 changed files with 36 additions and 23 deletions

View File

@@ -54,8 +54,6 @@ public:
private:
EGLConfig chooseConfig(const EGLConfig configs[], EGLint numConfigs);
void loadExtensions();
bool inEmulator();
private:
@@ -80,8 +78,6 @@ private:
bool firstTime = false;
bool usingDepth24 = false;
bool fpsEnabled = false;
double fps = 0.0;
};

View File

@@ -60,6 +60,8 @@ private:
GLXPbuffer glxPbuffer = 0;
#endif
bool extensionsLoaded = false;
GLuint fbo = 0;
GLuint fboDepthStencil = 0;
GLuint fboColor = 0;