Re: SDL/OpenGL program fails to link when I want to use wgl-function

2006-10-23 Thread Eric Lilja
Eric Lilja wrote: Hello, I'm using a fully updated cygwin and mingw developement binaries of SDL (version 1.2.11). Consider the following program: //#include #include #include #include static void display() { glClear(GL_COLOR_BUFFER_BIT); glBegin(GL_POLYGON); glVertex2f(-0.

SDL/OpenGL program fails to link when I want to use wgl-function

2006-10-22 Thread Eric Lilja
Hello, I'm using a fully updated cygwin and mingw developement binaries of SDL (version 1.2.11). Consider the following program: //#include #include #include #include static void display() { glClear(GL_COLOR_BUFFER_BIT); glBegin(GL_POLYGON); glVertex2f(-0.5f,-0.5f); gl