Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
51 user(s) are online (39 user(s) are browsing Forums)

Members: 1
Guests: 50

terminills, more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: SDL1 open issues

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

@kas1e

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