Advertisement

hello, opengl in a child dialog??? please help

Started by December 19, 2003 08:19 AM
12 comments, last by TykeiL 21 years, 2 months ago
try making them global or static.

____________________________________________________________
The Santa Claus in the Lobby wants to kill me.
HxRender | Cornerstone SDL TutorialsCurrently picking on: Hedos, Programmer One
ok i found the problem with my rgb values so there fine now,

its just my geometry that isnt showing up
!!My bRaiN is FiLLEd With HappY Juice!!
Advertisement
ok another fix if my own logic, seems that it is drawing the geometry but once the geometry gets a certain distance away from the "camera" it dissapears.. now i dont know whats causing this and im hoping its something simple

http://apache.airnet.com.au/~praisegd/miscelanious/opengldialog.zip
heres the source, i just added wsad and zx to move the white square in the viewport but once the white square gets any more than 2.0f away from the "camera" it dissapears..
cheers for any help
!!My bRaiN is FiLLEd With HappY Juice!!
well i found what i''d done,, seems when i butchered nehe''s code i forgot to take the resizeglscene function he''s made and thats kind of important, everything works fine now cheers to the people who posted :O)
!!My bRaiN is FiLLEd With HappY Juice!!

This topic is closed to new replies.

Advertisement