| [AD] fixes for some al_resize_display cases in Windows |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Patch is attached. Might need some more testing.
I only tested it with the various resize examples in both D3D and
OpenGL displays (Windows 7, single monitor setup).
I could not manage to fix the lost bitmaps problem in OpenGL yet.
Patch notes:
* fixed missing/incorrect resize events under Windows in
Direct3D and OpenGL displays (could be seen in
ex_display_events) (this also seems to fix wrong window
content positioning in OpenGL after resize)
* fixed a case where changing fullscreen mode in D3D via al_resize_display
caused a crash and loss of loaded bitmaps information causing
the bitmap not to be converted and thus disappearing after mode change
(problem could be observed running ex_fs_resize)
* fixed a case where changing fullscreen mode in OpenGL(Windows) via
al_resize_display cause nothing at all to be rendered after the mode change
(problem could be observed running ex_fs_resize with an OpenGL display)
(there is still the problem that bitmaps don't get converted correctly
-> they seem to end up as fully transparent filled black rectangles
and so are invisible after the mode change)
Dennis Busch
d_busch@xxxxxxxxxx
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.
---- File information -----------
File: 0001-fixed-missing-incorrect-resize-events-under-Windows.patch
Date: 12 Jul 2012, 19:48
Size: 4499 bytes.
Type: Unknown
Attachment:
0001-fixed-missing-incorrect-resize-events-under-Windows.patch
Description: Binary data
| Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |