jira:none
code is from PrusaSlicer,thanks for PrusaSlicer and Lukas Matena
commit e04e8c55cfc0498bb665f6fb515f3a8fcea64796
Author: Lukas Matena <lukasmatena@seznam.cz>
Date: Fri Dec 2 14:21:18 2022 +0100
Improved performance of GLModel::render:
The way the OpenGL version was checked was quite inefficient
Change-Id: I6d7c6678e383c5cf2fbfea5b61ef65beab5328f9