---- Reported by jzwiers 2005-02-13 05:36:20 ----
glu.gluBuild2DMipmaps seems to crash for textures that have a non power-of-two
size. When loading the same texture "cropped" to 512 X 512, there are no
problems. The problem showed up in the latest (1.1b08) version.
---- Additional Comments From jzwiers 2005-02-13 05:38:19 ----
Created an attachment
Java prog + two jpg texture files.
---- Additional Comments From kbr 2005-02-23 01:39:19 ----
This was a bug in the SGI GLU sample implementation and was reproduced
by converting the attached test program to C and compiling in the code
from the sample implementation. This bug was already fixed in the Mesa
sources as https://jogl.dev.java.net/bugs/show_bug.cgi?id=2510 and the patch was found at
by Googling for the terms "mipmap.c last row". The fix is to add a
test-and-clamp for the highest row read from the texture.
There is still a problem with visual artifacts when scaling
non-power-of-two textures that this test case reproduces and that is
continuing to be investigated.
---- Additional Comments From kbr 2005-02-23 02:06:27 ----
Last portion of fix. Fixed typo in one loop in scale_internal_byte and
scale_internal_ubyte routines, correcting visual artifacts. Fixed
--- Bug imported by firstname.lastname@example.org 2010-03-24 07:47 EDT ---
This bug was previously known as _bug_ 140 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=140
Imported an attachment (id=42)
The original submitter of attachment 42 [details] is unknown.
Reassigning to the person who moved it here: email@example.com.