Mesa (main): nine: remove dead code

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Nov 23 22:50:20 UTC 2021


Module: Mesa
Branch: main
Commit: 6b4294daf0350aac512180620e8d1cc220ecc893
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b4294daf0350aac512180620e8d1cc220ecc893

Author: Thomas H.P. Andersen <phomes at gmail.com>
Date:   Sat Jul 31 15:07:59 2021 +0200

nine: remove dead code

This line gets the cap but does not store it. The line has existed
unchanged since the original import in fdd96578.

Fixes a compile warning

Acked-by: Axel Davy davyaxel0 at gmail.com
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12155>

---

 src/gallium/frontends/nine/adapter9.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/frontends/nine/adapter9.c b/src/gallium/frontends/nine/adapter9.c
index 32f1746a97d..2b7eb87380c 100644
--- a/src/gallium/frontends/nine/adapter9.c
+++ b/src/gallium/frontends/nine/adapter9.c
@@ -828,7 +828,6 @@ NineAdapter9_GetDeviceCaps( struct NineAdapter9 *This,
                            D3DTEXOPCAPS_LERP;
 
     pCaps->MaxTextureBlendStages = 8; /* XXX wine */
-        (DWORD)screen->get_param(screen, PIPE_CAP_BLEND_EQUATION_SEPARATE);
     pCaps->MaxSimultaneousTextures = 8;
 
     pCaps->VertexProcessingCaps = D3DVTXPCAPS_TEXGEN |



More information about the mesa-commit mailing list