Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
89 user(s) are online (73 user(s) are browsing Forums)

Members: 1
Guests: 88

NinjaCyborg, more...

Headlines

Report message:*
 

Re: SDL2

Subject: Re: SDL2
by Capehill on 2021/4/23 16:51:55

Seems "size" parameter is missing in source code. Possibly there should be "wid" but that's a guess. However, in the same file there is only one call for that constructor and "0" is passed as size:

https://github.com/landersson/roketz3d/blob/master/threads.cc#L61

So Sinan may use a simple workaround by hardcoding the constructor like:

ImageData(uint8_t *data, int wid, int id) : _data(data), _size(0 /* was size */), _id(id) { }




Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project