simonh #1 Does this still happen if you take out the EndMax2D/BeginMax2D lines? Might be a Linux driver issue.