I'm doing an OpenGL module for my course and I installed the MESA libraries for OpenGL. Everything seems to be working fine; the code compiles without any errors or warnings. Then, when I run the executable it appears to be running but the window is invisible. I know it's running because it prints on the terminal some messages it's supposed to and i can see it running on the panel. Also, I compiled and run the code on a university pc and it is working just as it should, so there's nothing wrong with my code.
As a solution i tried sudo apt-get build-dep tumiki-fighters (i know it's quite silly), which installed some extra packages but the problem remained.