This is really just a cosmetic issue, but it’s a bit annoying.
C preprocessors get it right:
Example:
#line 10
#invalid_directive
nVidia drivers report error at line 11, the rest of the world 10
(I think the same applies to DirectX because I’ve seen something similar with DX11;
assuming the preprocessor code is shared)
The fix would be trivial (most likely a one liner), or is there another reason for this odd behavior?
Thank You
Martin