st/nine: Implement SetNPatchMode
authorAxel Davy <axel.davy@ens.fr>
Sun, 11 Sep 2016 14:21:43 +0000 (16:21 +0200)
committerAxel Davy <axel.davy@ens.fr>
Mon, 10 Oct 2016 21:43:49 +0000 (23:43 +0200)
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/device9.c

index b914c99b78d99d0e339bd53a3528c8214016ad8b..075ed7c0f479bebe04fe348c837ff3551459861d 100644 (file)
@@ -2917,7 +2917,7 @@ HRESULT NINE_WINAPI
 NineDevice9_SetNPatchMode( struct NineDevice9 *This,
                            float nSegments )
 {
-    STUB(D3DERR_INVALIDCALL);
+    return D3D_OK; /* Nothing to do because we don't advertise NPatch support */
 }
 
 float NINE_WINAPI