From: Thorsten R. <ro...@iv...> - 2001-03-14 09:22:46
|
> > I'm trying to load images (gif and jpg) with AWTTextureLoader. There > is no problem if the image width is a multiple of 8. In the other case > the image is improperly laoded, ie it is distorded and there are some > weird pixels and colors. > > Using the last versions of JDK and gl4java. > > What's wrong ? > Hi, did you try glPixelStorei (GLFunc.GL_UNPACK_ALIGNMENT, 1) ? ciao, Thorsten |