Patching a version number through Magisk cannot upgrade your hardware's physical capabilities.
If you want to improve OpenGL and Vulkan performance without relying on unverified "OpenGL 5.0" packages, consider these stable alternatives: Konabess (For Snapdragon Devices) opengl 50 magisk patched