----- Original Message ----- > On Wed, Jan 19, 2011 at 10:18 AM, Benoit Jacob <bja...@mozilla.com> > wrote: > > ----- Original Message ----- > >> It looks like a number of failures are happening because WebGL is > >> assuming GL_ARB_ES2_compatibility support in the OpenGL driver when > >> the extension isn't actually present. Mesa generates an error and > >> the > >> test fails. > > > > Thanks a lot! That also seems to explain failures I'm having on > > various platforms, and couldn't figure out. > > > > We don't want to require GL_ARB_ES2_compatibility. So i'll try to > > see how I can emulate this functionality on desktop OpenGL. > > In your debug build, it would be good to check glGetError() after > every glGet*() call to make sure that the query was valid. It's easy > to miss things like this.
We actually do this when MOZ_GL_DEBUG is defined (only in debug builds), but somehow I hadn't paid enough attention to this. Benoit > > -Brian _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev