I used DD_OK where it should have been WINED3D_OK. No difference for the code, but it was nevertheless wrong.<br><br>Johan Gill<br><br><br>