[info-performer] GL_UNPACK_ALIGNMENT

New Message Reply Date view Thread view Subject view Author view

From: Dimi (christop++at++fhw.gr)
Date: 01/23/2003 02:19:07


Hi,
is there a way in Performer (to do a
glPixelStorei (GL_UNPACK_ALIGNMENT, 1);

I need to subload textures which are not byte padded to a 4 word boundary as its probably preset by OpenGL.
I noticed that if the texture dimensions is not aligned to 4 the subloading does not work right.
In opengl the above command is used to avoid this.

Thanks in advance
Dimi


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 02:22:40 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.