On Tue, 1 May 2012 19:04:19 -0400, nobled <[email protected]> wrote: > Current Mesa fails to produce GL_INVALID_ENUM in glGetTexLevelParameteriv > and segfaults when passed NULL. > --- > It's kind of pointless to pass null to a glGet* function like this, > but I couldn't find > any language in the spec about ignoring NULL pointers, which seems like the > sane thing to do.
You should probably just check for gl 1.2 and skip the GL_EXT_texture and GL_EXT_texture_object checks. It's not like those paths of the test have been tested, or that anyone would care about them, right? (When reviewing, I thought GL_EXT_texture was a typo of some other intended extension, because I'd never even heard of it, since it's always been supported while I've been around).
pgpUEoYFmoe0a.pgp
Description: PGP signature
_______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
