pingus-devel
[Top][All Lists]
Advanced

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

Re: none


From: Ingo Ruhnke
Subject: Re: none
Date: 15 Sep 2002 20:42:20 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

David Philippi <address@hidden> writes:

> On Sunday 15 September 2002 13:02, address@hidden wrote:
>> - fixed a few crash bugs in switchdoor, iceblock and conveyorbelt
> 
> Is CL_Surface a class that shouldn't have a copy constructor?

The problem was that the CL_Surface's where never initialized. Copying
CL_Surfaces around is perfectly ok, they are just ref-counted wrappers
around CL_SurfaceGeneric. What the code did was:

CL_Surface sur;
sur.put_screen (...)

which of course will crash.

-- 
WWW:      http://pingus.seul.org/~grumbel/ 
Games:    http://pingus.seul.org/~grumbel/gamedesigns/
JabberID: address@hidden 
ICQ:      59461927




reply via email to

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