[AD] OS X full screen resize (was Re: Allegro 5 TODOs (from wiki)) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: [AD] OS X full screen resize (was Re: Allegro 5 TODOs (from wiki))
- From: Evert Glebbeek <eglebbk@xxxxxxxxxx>
- Date: Tue, 9 Dec 2008 21:31:01 -0500
On 28-Nov-08, at 3:24 AM, Peter Hull wrote:
It crashes really badly for me (maybe the cause is what Milan said)
but I found it difficult to debug without a second monitor, so I
haven't got around to it.
Still crashes here. Well, I didn't really expect this to be magically
fixed, but I thought I'd give it a go. :)
I'm not entirely sure it's as simple as Milan says it is, but maybe
that's because I don't fully understand what he says.
ex_fs_resize crashes on al_destroy_display(), up until that point
everything seems to work finr (was that already the case?). In case it
helps, I get the following traceback from ex_fs_resize (goes un
further, but the rest certainly isn't too relevant):
#0 0x9393dfcb in glBindTexture ()
#1 0x0005c7c2 in ogl_lock_region (bitmap=0x197890, x=0, y=0, w=320,
h=200, locked_region=0xbfffcf9c, flags=1) at /Users/eglebbk/Program/
Allegro5/4.9/src/opengl/ogl_bitmap.c:406
#2 0x0000a7f4 in al_lock_bitmap_region (bitmap=0x197890, x=0, y=0,
width=320, height=200, locked_region=0xbfffcf9c, flags=1) at /Users/
eglebbk/Program/Allegro5/4.9/src/bitmap_new.c:542
#3 0x00024143 in _al_draw_bitmap_region_memory (bitmap=0x197890,
sx=0, sy=0, sw=320, sh=200, dx=0, dy=0, flags=0) at /Users/eglebbk/
Program/Allegro5/4.9/src/memblit.c:96
#4 0x0002437c in _al_draw_bitmap_memory (bitmap=0x197890, dx=0, dy=0,
flags=0) at /Users/eglebbk/Program/Allegro5/4.9/src/memblit.c:146
#5 0x0000a076 in al_draw_bitmap (bitmap=0x197890, dx=0, dy=0,
flags=0) at /Users/eglebbk/Program/Allegro5/4.9/src/bitmap_new.c:317
#6 0x0000b1fd in _al_convert_to_memory_bitmap (bitmap=0x197890) at /
Users/eglebbk/Program/Allegro5/4.9/src/bitmap_new.c:921
#7 0x0003f4c6 in +[ALDisplayHelper destroyDisplay:] (self=0x80320,
_cmd=0x5fba5, display_object=0x19e790) at /Users/eglebbk/Program/
Allegro5/4.9/src/macosx/osxgl.m:573
Evert