Is there any way to create a core OpenGL context in SDL 1.2? I’ve been looking around, but Google only gives half completed tutorials that only work for Windows, when I need it to work on Windows and Linux.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends on what you mean by “OpenGL 3.0”.
If you’re just talking about the version number, then SDL should still be capable. If you’re talking about getting a core context instead of a compatibility one, then you’ll either have to use a version of SDL that supports that (the in-development 2.0) or something that isn’t SDL.