b=573720; some small fixes to make OSMesa work; r=bjacob

This commit is contained in:
Vladimir Vukicevic
2010-07-18 22:01:14 -07:00
parent a99bd4a093
commit e67272d20c
2 changed files with 7 additions and 8 deletions

View File

@@ -379,8 +379,7 @@ WebGLContext::InitAndValidateGL()
// make sure that the opengl stuff that we need is supported
GLint val = 0;
// XXX this exposes some strange latent bug; what's going on?
//MakeContextCurrent();
MakeContextCurrent();
gl->fGetIntegerv(LOCAL_GL_MAX_VERTEX_ATTRIBS, (GLint*) &mGLMaxVertexAttribs);
if (mGLMaxVertexAttribs < 8) {