qt: use our function table instead of directly calling gl functions