Linkage bugfix in rendergl.cpp