You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rename wined3d-UnhandledBlendFactor -> wined3d-Silence_FIXMEs.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
From fbbc2b263f3ec7769a2f3b5ab17ae2e841b95876 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Sun, 15 Mar 2015 01:33:05 +0100
|
||||
Subject: wined3d: Silence repeated 'Unhandled blend factor 0' messages.
|
||||
|
||||
---
|
||||
dlls/wined3d/state.c | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
|
||||
index 67570d5..1bc2973 100644
|
||||
--- a/dlls/wined3d/state.c
|
||||
+++ b/dlls/wined3d/state.c
|
||||
@@ -360,8 +360,11 @@ static GLenum gl_blend_factor(enum wined3d_blend factor, const struct wined3d_fo
|
||||
case WINED3D_BLEND_INVBLENDFACTOR:
|
||||
return GL_ONE_MINUS_CONSTANT_COLOR_EXT;
|
||||
default:
|
||||
- FIXME("Unhandled blend factor %#x.\n", factor);
|
||||
+ {
|
||||
+ static int once;
|
||||
+ if (factor || !once++) FIXME("Unhandled blend factor %#x.\n", factor);
|
||||
return GL_NONE;
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
||||
--
|
||||
2.3.2
|
||||
|
@@ -0,0 +1,29 @@
|
||||
From ddf59a2c4bed6165d79c2cc7655c8151d99e7965 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Costa <titan.costa@gmail.com>
|
||||
Date: Sun, 14 Feb 2016 19:32:45 +0100
|
||||
Subject: wined3d: Display FIXME for cmp function 0 only once.
|
||||
|
||||
---
|
||||
dlls/wined3d/state.c | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
|
||||
index 21e49eb..8f7c9bd 100644
|
||||
--- a/dlls/wined3d/state.c
|
||||
+++ b/dlls/wined3d/state.c
|
||||
@@ -241,8 +241,11 @@ GLenum wined3d_gl_compare_func(enum wined3d_cmp_func f)
|
||||
case WINED3D_CMP_ALWAYS:
|
||||
return GL_ALWAYS;
|
||||
default:
|
||||
- FIXME("Unrecognized compare function %#x.\n", f);
|
||||
+ {
|
||||
+ static int once;
|
||||
+ if (f || !once++) FIXME("Unrecognized compare function %#x.\n", f);
|
||||
return GL_NONE;
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
||||
--
|
||||
2.7.1
|
||||
|
1
patches/wined3d-Silence_FIXMEs/definition
Normal file
1
patches/wined3d-Silence_FIXMEs/definition
Normal file
@@ -0,0 +1 @@
|
||||
Category: stable
|
Reference in New Issue
Block a user