[Freeciv-Dev] Re: (PR#10023) client segfault when switching tilesets
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] Re: (PR#10023) client segfault when switching tilesets |
From: |
"Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx> |
Date: |
Mon, 20 Sep 2004 14:03:20 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10023 >
Vasco Alexandre da Silva Costa wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10023 >
>
>>[jdorje - Fri Sep 10 18:24:16 2004]:
>>
>>I started with the isotrident tileset, then switched to the civ3gfx
>>tileset, then I switched back. I played for a turn or two, then got a
>>crash:
>
>
> GtkPixcomm (and other places) are widgets which store SPRITE pointers,
> or pointers to GdkPixmaps of the tileset, and follow the pointers when a
> partial refresh is necessary. You can't safely change the graphics from
> under the client, unless you hide all the windows prior to changing the
> graphics and do a full update before showing the windows again.
There is a callback function tileset_changed(). It should do all the
necessary updates (unless it's possible to do them straight from
tilespec.c).
jason
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: (PR#10023) client segfault when switching tilesets,
Jason Short <=
|
|