-
SDL1.3 in a thread and OpenGL context in another.
Does anyone have an example? I know SDL input has to be only in its "main" thread but I find trouble to give input properly to another thread with an SDL window (which got context with Makecurrent from a window made on main).
-
Member
Regular Contributor
Re: SDL1.3 in a thread and OpenGL context in another.
You need to share context. I don't know how to do it with SDL, but it's quite easy with glx, wgl. Have a look at the SDL documentation.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules