Posts from 2011/10

OpenGL weirdness

October 06, 2011 00:00

Try this:

        dispList = glGenLists(1);

        glNewList(dispList, GL_COMPILE);

        for(int x=-768; x<768; x++)
        for(int y=-768; y<768; y++)
        {
            glBegin(GL_QUADS);
                glColor3f((double)(rand() % 100) / 500, 
            (double)(rand() % 100) / 100, 0...
Read post

Help! GLEW compiles but doesn't link!

October 06, 2011 00:00

When you compile the glew_static project from glew on Visual Studio and link it with your program, you may get something like this:

app_init.obj : error LNK2001: unresolved external symbol __imp__glewInit
worldscene.obj : error LNK2001: unresolved external symbol __imp____glewBufferSubData
worl...
Read post