While booted to Boot Camp Windows uses exclusive Windows drivers provided by Apple, that's why it works there.
While booted to macOS and using Windows in virtual machine, macOS video driver is used that is very limited and does not support OpenGL compatibility profile, meaning we are currently...