0

Hi,

I have a Win32 + OpenGL sort of graphics engine I wrote myself for a simulation software project (still in progress). The problem is that this software must also have a linux version.

Now this software is using MDI and Docking windows and what not so I am not using glut. To begin rendering, I simply pass the Device Context of the approperiate window to the engine and use wglMakeCurrent to allow OpenGL to draw.

My naive assumption is that gl* commands are recognised in Linux. Please correct me if i am wrong.

My question is therefore, what is the equivalent of device context in Linux system? Or more generally, how to prepare linux "windows" (or whatever it is called) for OpenGL commands?

Any help is appreciated, thanks!

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by jakesee
0

didn't you read this. It was the second google link hit

No, I didn't. I probably was searching for the wrong key words. I was looking for the "linux equivalent of device context".

Thanks for the link. =) It helps a lot. * off to reading *

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.