thks for info:
using ifndef seems to solve header issues but callbacks are still not working(see below) - using openGL in C++ is turning into a real struggle - couldn’t find any good C++ tesselation examples in google
glpanel.cpp:617: error: ISO C++ forbids taking the address of an unqualified
non-static member function to form a pointer to member function. Say & GLPanel::vertexCallback' glpanel.cpp:617: error: converting fromvoid (GLPanel::)(GLvoid)’ to `GLvoid
Ville,
thks for 2 very informative links. The problem is here I just don’t have the time to spend 2 weeks on exploring function pointers and figuring out how to simply draw a colored polygon. Is there a “Boost type” library for OpenGL so I don’t have to spend days writing functions to draw texture fonts, polygons, curves, etc ?