|
From: James W. <ja...@fr...> - 2008-09-09 17:27:31
|
Pascal Augustin wrote:
> Having experienced some problems with Q3Initialize() and Q3Exit(), I
> decided to create this simple test app:
>
> int main(int argc, char *argv[])
> {
> TQ3Status quesaStatus = Q3Initialize();
> quesaStatus = Q3Exit();
> quesaStatus = Q3Initialize();
> quesaStatus = Q3Exit();
>
>
>
> return NSApplicationMain(argc, (const char **) argv);
> }
>
> The app crashes on the second Q3Initialize() with a EXC_BAD_ACCESS error
> message . Here is the backtrace:
I have checked in changes to CartoonRenderer.cpp and HiddenLine.cpp that
should fix this problem.
I suppose that the most common usage is to call Q3Initialize once at
startup and call Q3Exit at shutdown, so this bug would not be encountered.
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
|