Hey quick question. I've done a lot of searching and can't seem to find an answer so here is my problem:
I want to use SDL2 to handle all the entirety of my 2d game. This not only includes window creation, input, and audio but also rendering. The problem is I have little to no knowledge or experience with openGL. The thing is I do not want to learn openGL (especially since its a 2D game) only to learn how to integrate shaders with SDL. With the SDL hardware accelerated textures I don't see the need to learn openGL for just a 2D game. I wanted to know if there is some example code/walkthrough that can explain how to apply a shader to a SDL texture (or surface even since you can access pixel data there) essentially. Ive done a lot of searching and the basic suggestion is to learn openGL, handle rendering with openGL and then apply the shader through that. Just want to know if there a a simpler solution.
Thanks in advance!
Edit: Second question: Would there really be any benefit in using openGL to render as opposed to SDL? Especially since I don't have any experience with openGL so if I were try it probably wouldn't be anything that advanced/optimized.