Eric Anholt wrote: > On Thu, 2009-07-02 at 22:20 -0700, Vinson Lee wrote: >> I believe there's a bug in the piglit vbo-map-remap.c test. The test >> fails for me with a GL_INVALID_ENUM error that comes from >> glEnable(GL_VERTEX_ARRAY). GL_VERTEX_ARRAY is a client-side capability >> so the error seems valid. > > Mesa's been accepting array enums in Enable/Disable as if it was > Enable/DisableClientState since the initial revision in CVS, it looks > like. If this is in fact invalid and other vendors throw errors on it, > I'd like to see Mesa follow suit.
The original GL_EXT_vertex_array extension (which we still support) uses glEnable/Disable() to enable/disable vertex arrays. I believe glEnable/DisableClientState() were introduced with OpenGL 1.1. NVIDIA's driver accepts the array enums passed to glEnable/Disable() too. That said, I think I'll update a few Mesa demos to use glEnable/DisableClientState(). -Brian ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
