I was unsure whether to post this in the DirectX section or in the OpenGL one but since I ultimately want to port the game I have over to OpenGL (I'd like to make it cross-compatible) I figured its better to post here.
So I have a source code for an old game which uses DirectX 6. And I was wondering if its better (or easier) to upgrade it to a later DirectX version and then port it over to OpenGL or just do it directly.
Also I would like to know if there is some kind of reference (like what are similar functions or what is necessary to use instead) or some useful tipps for porting?
Something like this would surely come in handy since I never did such a thing before ;)