I'm trying the new allegro library (4.9.8) and when I resize my display from 320x240 to 800x600, my sprites that I draw on the screen get bigger too:
http://img120.imageshack.us/img120/5203/large.jpg (The sprite shown on the image should be 150x40.)
I posted it on allegro.cc forums and they said that perhaps is my video card or my OS: I'm using Windows Vista and NVidia GeForce.
I tried it with the code that is attached.
Code with the display issue
Bugged display
Update: I uploaded the image too.
Works okay on Linux, so probably Windows or D3D specific.
This is a code error in your test program. This is how it should be done:
include <allegro5 allegro5.h=""></allegro5>
include <allegro5 a5_iio.h=""></allegro5>
int main(void)
{
ALLEGRO_DISPLAY display;
ALLEGRO_BITMAP bitmap;
ALLEGRO_EVENT_QUEUE *queue;
ALLEGRO_EVENT event;
}
END_OF_MAIN()