Having hardware acceleration turned on in Discord can make the app smoother visually if you're experiencing issues. However, if you're noticing freezing with hardware acceleration enabled then you should disable this option. The app will then restart and you should see an improvement.