when new FE SDK was published I changed all my Picasso functions to graphics ones.
Under FE, no problem, by changing :
Code: Select all
bitmap_vignette = p96AllocBitMap( bmh->bmh_Width, bmh->bmh_Height, 32, BMF_DISPLAYABLE, NULL, RGBFB_A8R8G8B8 );
Code: Select all
bitmap_vignette = AllocBitMapTags( bmh->bmh_Width, bmh->bmh_Height,32, BMATags_Displayable, TRUE, BMATags_PixelFormat,RGBFB_A8R8G8B8);
But under 4.1.6, the same program freezes the system.
As BMATags_PixelFormat is not known in the previous 4.1.6 SDK, I can't recompile the graphics AllocBitmap under 4.1.6.
By restoring Picasso96 functions and by compiling the program with the newest FE SDK, makes it work again under 4.1.6.
1) Therefore, is this AllocBitmapTags() works under 4.1.6 ?
2) Or is it a way to make the diferrence between OS level in the code ?
#ifdef __amigaos4.1.6__
or
#ifdef __amigaos4.1.8__
Thank you by advance.
Guillaume