bizarre texture error with a even more bizarre fix?

"James Supancic" <[email protected]>
Newsgroups gmane.comp.graphics.chromium.user
Message-ID <[email protected]>
bizarre texture error with a even more bizarre fix?

There is an odd bug when running Sauerbraten with Chromium. The
textures on two opposite sides of a box will be rendered correctly,
but these on the sides perpendicular to the correctly rendered sides
will have their textures "skewed" (ig. the textures are severely
warped, like the texture coordinates got corrupted). So, for example,
on a map, the north and south sides of all objects might be rendered
correctly, while the east and west sides would be skewed.

I found a way to fix this... but I don't understand why it works at all:
in any of the following functions:
doFlush
tilesortspuFlush
tilesortspuFlush_callback
crStateTexGendv
crStateTexGenfv
and maybe others.

I add the lines
crPackPushAttrib(0);
crPackPopAttrib();

and the all sides of objects render properly?

Does anyone have any idea why this might happen? As far as I can
tell... crPackPushAttrib(0); crPackPopAttrib(); should do absolutely
nothing?

I have been working on this all night, and I am running out of ideas...

Thank you for your time,
James Steven Supancic III

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.