Re: [PyOpenGL-Users] vertex/texture arrays
Brought to you by:
mcfletch
|
From: Frank R. <cra...@gm...> - 2002-01-08 15:13:44
|
I managed to create the strings using the struct module and they worked exactly the same as glVertexPointerf and glColorPointerf. But when trying to do the same with glTexCoordPointer I got back my beloved 1282 invalid operation error. It's interesting however that I get the very same error when f.ex. producing an actual error by not enabling GL_TEXTURE_2D or the texcoord array. This makes me think I might have missed something essential? Although I wouldn't know what. The texture setup is taken from a working example (well just the 4 lines setting it up until glTexImage2D). And I enabled GL_TEXTURE_2D and GL_TEXTURE_COORD_ARRAY. Any ideas? -- Raiser, Frank aka CrashChaos IRC: irc.openprojects.net #pygame |