[PATCH] d3dx9: Use struct d3dx_object for objects.

Matteo Bruni matteo.mystral at gmail.com
Wed Sep 25 07:02:24 CDT 2013


2013/9/24 Rico Schüller <kgbricola at web.de>:
> ---
>  dlls/d3dx9_36/effect.c | 248
> +++++++++++++++++++------------------------------
>  1 Datei geändert, 95 Zeilen hinzugefügt(+), 153 Zeilen entfernt(-)
>

I definitely like the direction this patch takes.

@@ -5068,6 +5009,9 @@ static HRESULT d3dx9_parse_resource(struct
d3dx9_base_effect *base, const char *

     param = state->parameter;

+    /*
+     * TODO: Do we need to create the shader/string here or later
when we access them?
+     */

Here it's fine AFAICS. What are the other options you are thinking
about? Something like creating the shaders at the first Begin /
BeginPass call?



More information about the wine-devel mailing list