more graphics patches from Snailrose,

remove constraint fixed,
Bullet timestep now subdivides Blender game engine timestep, so it runs 60 hertz,
SphereShape reverted to old style, so no support for non-uniform scaled spheres for now,
This commit is contained in:
Erwin Coumans
2006-01-15 11:34:55 +00:00
parent e35f73cd00
commit 6f3e593105
23 changed files with 354 additions and 206 deletions

View File

@@ -509,7 +509,7 @@ static void LinkExtensions()
}
#endif
#ifdef GL_ARB_shader_objects
#if GL_ARB_shader_objects
if (QueryExtension("GL_ARB_shader_objects"))
{
bgl::blDeleteObjectARB = reinterpret_cast<PFNGLDELETEOBJECTARBPROC>(bglGetProcAddress((const GLubyte *) "glDeleteObjectARB"));
@@ -562,7 +562,7 @@ static void LinkExtensions()
}
#endif
#ifdef GL_ARB_vertex_shader
#if GL_ARB_vertex_shader
if (QueryExtension("GL_ARB_vertex_shader"))
{
bgl::blBindAttribLocationARB = reinterpret_cast<PFNGLBINDATTRIBLOCATIONARBPROC>(bglGetProcAddress((const GLubyte *) "glBindAttribLocationARB"));