Hi all,

I did some further analysis on this bug and I found that in line 237 of leaf.cxx

            texcoord = texcoords[ tex_index[i] ];

tex_index[i] is negative in the case of the crash. Specifically, the value in my case is 0xffff8000, which looks like a short-to-int-conversion problem. (Yes, the custom scenery is pretty detailed in some parts and yes, I'm working on a reduction of vertices as well ;-)

IIRC there was a change to the scenery code from short to int some time ago.

Regards,
Ralf

_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to