The solution is taken from Enable 3D Support option is greyed out in virtual machine video card settings (2092210)
Modify the VMX file of the Virtual Machine
1. Take backup of the virtual machines VMX file
2. Open the VMX file, using text editor and add this line in the end
mks.enable3d = TRUE
*You can use the vi to edit the VMX file
3. Check the VMID of the Guest OS you are reloading
# vim-cmd "vmsvc/getallvms" Vmid Name ......... 2
4. Reload the virtual machines configuration file by running this command:
# vim-cmd vmsvc/reload VMID