SDL: hide impossible branch in D3D_UnlockTexture

From 911ba8d343274b8cf5941268b732031b4edee0ff Mon Sep 17 00:00:00 2001
From: pionere <[EMAIL REDACTED]>
Date: Sat, 5 Feb 2022 12:30:45 +0100
Subject: [PATCH] hide impossible branch in D3D_UnlockTexture

---
 src/render/direct3d/SDL_render_d3d.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/render/direct3d/SDL_render_d3d.c b/src/render/direct3d/SDL_render_d3d.c
index 51d0379572d..cb60e1e5251 100644
--- a/src/render/direct3d/SDL_render_d3d.c
+++ b/src/render/direct3d/SDL_render_d3d.c
@@ -724,10 +724,12 @@ D3D_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture)
             data->drawstate.shader = NULL;
             IDirect3DDevice9_SetPixelShader(data->device, NULL);
             IDirect3DDevice9_SetTexture(data->device, 0, NULL);
+#if 0
             if (texturedata->yuv) {
                 IDirect3DDevice9_SetTexture(data->device, 1, NULL);
                 IDirect3DDevice9_SetTexture(data->device, 2, NULL);
             }
+#endif
         }
     }
 }