[ 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: Re: [AD] ex_resize2
- From: Elias Pschernig <elias@xxxxxxxxxx>
- Date: Wed, 03 Sep 2008 13:52:47 +0200
On Wed, 2008-09-03 at 21:43 +1000, Peter Wang wrote:
> I just added the example ex_resize2. I saw a couple of bugs.
>
> 1. With the OpenGL drivers (only?), the backbuffer bitmap's width and
> height is not updated when the window is resized. This is the source of
> the problem you see when the window is enlarged: al_draw_scaled_bitmap()
> clips the image to the _original_ size of the window.
>
> 2. When you make the window smaller, I'm not sure what's going on.
> (0,0) no longer seems to be at the bottom left of the window.
> Something to do with the setup_gl() function?
>
I added the missing call to resize the backbuffer - does it work now?
--
Elias Pschernig <elias@xxxxxxxxxx>