This is a very broad question, and I know it’s probably been asked before, but I couldn’t find it after searching for about half an hour on various websites and on this one for a few minutes as well. Anyway, I have some code written using OpenGL that I wish to convert from Linux to Windows and I was wondering if there was any clear “guide” on converting OpenGL code to Windows from Linux, or even just a list of functions that are different. I do know that Windows has its own code for opening and closing windows, but I remembered seeing something about OpenGL not being supported on Windows past version ?.? and thus it was necessary to have function pointers to tell Windows where the various functions were located. Anyway, I’m just sort of ranting now, but does anyone know of a good starting place / list of functions that are platform dependent, etc? I’m really quite confused about where to begin and how to go about converting the code. I would really rather not have to rewrite it all, if I don’t have to, as it’s roughly 5,000 lines spread throughout several files. (A large portion of that doesn’t have much to do with OpenGL as well).
Oh, also, final question, is GLSL the same on Windows, or is there anything I need to do to convert my vertex and fragment shaders as well?
Thank you for your help.