glut doesn't work?

Started by
1 comment, last by abg 22 years, 10 months ago
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
Advertisement
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.
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.

This topic is closed to new replies.

Advertisement