diff --git a/gfx/d3d9/d3d_wrapper.c b/gfx/d3d9/d3d_wrapper.c
index c7841cbaf9..a8a82579bf 100644
--- a/gfx/d3d9/d3d_wrapper.c
+++ b/gfx/d3d9/d3d_wrapper.c
@@ -59,8 +59,14 @@ LPDIRECT3DTEXTURE d3d_texture_new(LPDIRECT3DDEVICE dev,
             pool, filter, mipfilter, color_key, src_info,
             palette, &buf);
    else
+   {
       hr = dev->CreateTexture(width, height, miplevels, usage,
-            format, pool, &buf, NULL);
+            format, pool, &buf
+#ifndef _XBOX1
+            , NULL
+#endif
+            );
+   }
 
    if (FAILED(hr))
 	   return NULL;