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
--- �dlls/d3dx9_36/core.c | � 36 +++++++++++++++++++++++++++--------- �1 files changed, 27 insertions(+), 9 deletions(-)