Re: [PATCH 1/3] d3dx9: Implement ID3DXBaseEffect::GetParameterByName().
21 Apr
2011
21 Apr
'11
3:46 p.m.
2011/4/20 Rico Schüller <kgbricola(a)web.de>:
+inline LPSTR get_partial_string(LPCSTR name, char initial, char final) That should probably be static instead of inline. Also, get_parameter_by_name() looks like it could be split up, and you can probably avoid the copy in get_partial_string().
25 Apr
25 Apr
9:24 a.m.
New subject: [PATCH 1/3] d3dx9: Implement ID3DXBaseEffect::GetParameterByName().
Am 21.04.2011 16:46, schrieb Henri Verbeet:
2011/4/20 Rico Schüller<kgbricola(a)web.de>:
+inline LPSTR get_partial_string(LPCSTR name, char initial, char final) That should probably be static instead of inline. Also, get_parameter_by_name() looks like it could be split up, and you can probably avoid the copy in get_partial_string().
Something like the attached patch should be better in that regards. Any thoughts? Cheers Rico
5436
Age (days ago)
5440
Last active (days ago)
1 comments
2 participants
participants (2)
-
Henri Verbeet -
Rico Schüller