Due to its age Diablo 2 does not run in any graphics mode that can be properly captured by OBS. I recommend using
this GLIDE to OpenGL wrapper, which will allow the game to run in its original 3Dfx GLIDE mode using OpenGL, which
can be captured properly. You can also run at your native resolution, in windowed mode, etc.