Archived

This topic is now archived and is closed to further replies.

abg

glut doesn't work?

Recommended Posts

Ok, rather than go for the verbose, Windows-dependent method, I chose to use glut for my apps because I''d be coding them equally between Windows and Linux. However, I tried Glut Game Mode and although the screen resolution changes the screen doesn''t not go black and I can still see my windows desktop through it. The same thing happens with windowed modes. Please don''t make me resort to the Win32 API, I can''t bear it Basically, I can''t do anything OGL related until this is sorted. Thanks is advance, abg

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
The problem is most likely in your code and not in glut. You get the same behaviour from windowed and Game Mode. What do your program do after the window is created? Post a simple glut program opening a window and clearing it that does not work.

Share this post


Link to post
Share on other sites
Well, I''m using win32 api anyhoo now but the problem is when I
use double buffering with GLUT:

glInit(GL_SINGLE | GL_RGB);

works but,

glInit(GL_DOUBLE | GL_RGB);

doesn''t. I don''t know whether that''s the exact code but you get the idea.

Never mind, I''m making steady progress with things now but thanks anyway.

Share this post


Link to post
Share on other sites