Also this problem can happen If your CS is running in Software mode, check Settings to make sure. If you do, continue reading after the image.
To fix this, go to the Settings -> under Video tab -> Renderer and change it to one of these OpenGL (preferred one) or D3D.
In case this options are missing for you, then you have some missing video drivers. You gotta find what you got Intel, AMD, NVIDIA and install the correct drivers for them. Search youtube for tutorials. How to install video drivers and so...
In case you can't help it, I can help you, contact me on Discord NezajemSk#5634
Also you can put Color Quality to 32-bit for better colors.
Changing settings in Video tab will restart your game. Don't worry it's not gonna break if you don't mess with the Resolution If you do, and it breaks, contact me on the Discord.