RE: [Plib-devel] ssgVtxArray fixes.
Brought to you by:
sjbaker
From: Vallevand, M. K <Mar...@UN...> - 2000-08-08 15:17:36
|
I didn't have time to make any changes last night, however, my inclination is to support both shorts and ints, unless someone presents a strong argument for only shorts. The latest CVS with the ssgVtxArray changes works just fine. I was able to get that far... Regards. Mark K Vallevand ma...@rs... Never try and teach a pig to sing: it's a waste of time, and it annoys the pig. > Yep - when you called 'glDrawElements' you said: > > glDrawElements ( gltype, num_vertices, GL_UNSIGNED_INT, ii ) ; > ^^^^^^^^^^^^^^^ > Change this to > GL_UNSIGNED_SHORT > > ..you can also pass GL_UNSIGNED_BYTE - but I think that's *too* small. > > This would be a non-reverse-compatible change though - how many people > are using ssgVtxArray and would be upset by such a change? > > -- > Steve Baker |