View Full Version : Absolute newbie question...
06-19-2001, 11:51 AM
I'm having this stupid problem with my first self-coded openGL program. It just doesn't draw the stuff i wrote in the Render()-function... i only get a cleared background.
any idea what i did wrong?
some more infos, or code fragments would help, because the list of possible problems is to big, for example, you could have forgotten to set the drawingcolor, or you have enabled lighting without generating normals, or you simply forgot to use glBegin()/glEnd() ...
[This message has been edited by T2k (edited 06-19-2001).]
06-19-2001, 12:13 PM
ok, i uploaded the source file. the url is: http://www.crosswinds.net/~slotty/main.cpp (doesn't seem to work if you click on it, you'll have to type it into you browser)
[This message has been edited by theSlotty (edited 06-19-2001).]
06-20-2001, 12:44 AM
looks like i found the problem myself anyways. for some reason, the rendering isn't shown when the window gets a WS_VISIBLE styleflag.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.