Well, here i go:
Im deving my emu in Allegro 5 lib, i know i know, some other people would tell me SDL.
I have problems in linux. Allegro 5 for Windows uses Directx9. When i put a pixel in Windows everything is fine, since the stride or pitch is positive and its 1024 bytes (256 ARGB pixels). The thing that the same doesn't work well in linux since the stride is negative.
i can use in windows something like:
Code: Select all
void PutPixel(pixel32 pixel)
{
*surface++ = pixel;
}