[PATCH] d3d8: Actually test two return values