Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
43 user(s) are online (36 user(s) are browsing Forums)

Members: 0
Guests: 43

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

Re: SDL1 open issues

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

@Capehill
Quote:

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 ?

Quote:

PS. please make a ticket for window focus issue.


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