You mix S_OK with D3D_OK. Though they are equivalent, I think it would be better to keep the only D3D_OK notation.

A+

David

2011/3/29 Rico Schüller <kgbricola@web.de>
---
 dlls/d3dx9_36/core.c |   36 +++++++++++++++++++++++++++---------
 1 files changed, 27 insertions(+), 9 deletions(-)