[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] Strange crash in 3d code

From: Jon Kinsey
Subject: [Bug-gnubg] Strange crash in 3d code
Date: Mon, 10 Apr 2006 11:23:58 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8) Gecko/20051201 Thunderbird/1.5 Mnenhy/

I'm getting a crash in the following code:

zoom = (getViewAreaHeight(&va) / 2) / (float)tan(halfRadianFOV);
glTranslatef(0, 0, -zoom);

I think it might be to do with the optimisation/sse compile options -
I'll try it without and see what happens.

It crashes for me if I:
        Press hint and start a (cube) rollout, then move the playing window
(mid-rollout), stop the rollout and close that window and then it crashes...

Any ideas?


As an aside this code get called quite often - from configure_event in
widged3d.c, in theory it should only be called when the widget size
changes in 3d mode... (I'll check in a fix for this, seems like gtk is
being a bit over zealous).

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]