Remember me

Lost Password?

Register now!


Who's Online
72 user(s) are online (60 user(s) are browsing Forums)

Members: 1
Guests: 71

LiveForIt, more...

Support us!


Report message:*

Re: SDL1 open issues

Subject: Re: SDL1 open issues
by Capehill on 2018/1/14 10:48:04


Seems that backend allocates too little memory for the sprite. According to this http://wiki.amigaos.net/wiki/Intuition_Pointer , there should be 32-bit dummy data before and after actual graphics. But code allocates only "before" part (4 extra bytes):

https://github.com/adtools/os4sdl/blob ... amigaos4/SDL_os4wm.c#L155

It could be fixed like this (didn't have chance to test yet):

cursor->Image = IExec->AllocVecTags(4 * (h + 2), AVT_ClearWithValue, 0, AVT_Type, MEMF_SHARED, TAG_DONE );

By the way, do we still have to allocate from CHIP memory or?

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project