I wrote a program in C that has to display an image in a window. I use for that SDL 1.2 (being at an engineering school, I have that constraint). The code compiles and gets executed but display a blank window instead of the image. The program in itself is correct because it works on any linux distro. Would anyone happen to now if that has something to do with Cocoa, XQuartz or OpenGL? If so (or not), what is the problem and how to solve it? Thank you in advance for your time and response.
PS: I can provide the code if needed