2013/9/24 Rico Schüller kgbricola@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?