Fix an issue on macOS for volume rendering
When the main window has a depth + stencil buffer we have to make sure the depth texture used in volume rendering is alocated the same way.
When the main window has a depth + stencil buffer we have to make sure the depth texture used in volume rendering is alocated the same way.