Move the D3DCompile call to after the check for API link errors.

This avoids producing unhelpful internal D3D errors.

TRAC #23326

Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Authored-by: Jamie Madill
1 file changed