CSplitterWnd and Texture rendering

Hi, I am using the CSplitterWnd window splitter class in my MFC app to divide the main SDI into viewports. Inside the viewports I am using standart OpenGL init functions to draw whatever I need to. The only problem is that I can only get it to display texture maps in one viewport- the one that has been created (by window splitter) last.

Has anyone else had a similar problem?

Help would be grealy appreciated.

[This message has been edited by EPHERE (edited 05-05-2002).]

Hi !

It sounds like you are missing a context switch or something like that maybe ?


This GameDev.net article:
http://www.gamedev.net/reference/programming/features/3dmfc/ contains source for an app using a splitter and multiple OpenGL views. Should be just what you’re looking for.