Hey all I just want to see if I can get some clarification on using glew? In most tutorials for SDL2 + OpenGL they use Glew to get OpenGL support. However I’m having trouble getting it to work and I was wondering if it’s even needed. I’ve come across some code that just uses SDL2.h and SDL_OpenGL.h with modern OpenGL and it seems to be working just fine.
Here’s an example: Minimal SDL2 + OpenGL3 example. · GitHub
The basic idea I’m getting by searching through google is that SDL2 will include most of OpenGL but you need Glew to get the full scope of OpenGL. Is this correct?
If so, how do I know if I’ll even need it. Can I get by just be using the provided OpenGL? Or will I just create more work for myself later if I don’t include Glew now?
I’m just starting OpenGL and I don’t think I’m too likely to be doing anything advanced yet.