The frustration I always encounter when I try OpenGL/Win32/DirectX is unbearable. So, I'm gonna double post. I apologize. Anyway, this code should make a window of the specified size and title, yet it displays the normal console type window.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include <windows.h>
#include <gl/gl.h>
#include <glut.h>
int main(int argc, char **argv)
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_SINGLE); //Sets up single buffered display
glutInitWindowSize(500,500); //Sets size of window to 500 x 500
glutInitWindowPosition(100,100); //Sets position for window at (100,100)
glutCreateWindow("Whoo"); //Creates window
return 0;
}
It took me a good hour just to get everything linked right, and then I hit this problem like 5 minutes after fixing that one. Sigh... Help would be much appreciated