remove some un-used data from b3Generic6DofConstraint

add GLRenderToTexture helper class
enable OpenGLTrueTypeFont test
This commit is contained in:
erwin coumans
2013-06-26 16:09:40 -07:00
parent 34394526f8
commit bb723f9fd1
7 changed files with 119 additions and 13 deletions

View File

@@ -32,7 +32,7 @@ subject to the following restrictions:
#include "opengl_fontstashcallbacks.h"
#include "Bullet3Common/b3Quickprof.h"
//#include "Bullet3Common/b3Quickprof.h"
#include "Bullet3Common/b3Quaternion.h"
#include "Bullet3Common/b3CommandLineArgs.h"
#include "../OpenGLWindow/LoadShader.h"
@@ -471,7 +471,6 @@ int main(int argc, char* argv[])
while (!window->requestedExit())
{
b3ProfileManager::Reset();
GLint err = glGetError();
b3Assert(err==GL_NO_ERROR);
@@ -633,11 +632,9 @@ int main(int argc, char* argv[])
b3Assert(err==GL_NO_ERROR);
{
B3_PROFILE("glFinish");
glFinish();
}
b3ProfileManager::Increment_Frame_Counter();
static bool printStats = true;