Remember me

Lost Password?

Register now!
Who's Online
33 user(s) are online (12 user(s) are browsing Forums)

Members: 0
Guests: 33

Support us!
Recent OS4 Files
Report message:*

Re: SDL1 open issues

Subject: Re: SDL1 open issues
by kas1e on 2019/8/24 18:28:51


But the above code is not compiled. I'm assuming here that the incoming data ("surface") is of same size and format as texture ("ScreenTexture").

Well, that definately the way to do how you show it. I just copy+paste your code, without any creation of sdlsurface. And it even render something to the window (just half of the window , and with wrong colors), but it renderes for sure, and speed is MUCH better.

Should't somewhere sdlsurface be created at all , or , there is no needs for ?

And how to deal with "format" then, probabaly still need to call SDL_LockTexture ?


PS. please make a ticket for window focus issue.

Yep, will do of course
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project