<div dir="ltr"><div>The texture->setMaxAnisotropy() is a straight forward C++ method, the only reason for it to crash would be for the method to be called on a nullptr or invalid texture pointer.</div><div><br></div><div>Most likely the bug stems from simgear so I would suggest contacting the FlightGear team to see if they can reproduce the crash and then hunt the down the cause of the invalid pointer.<br></div></div>