Re: [PATCH 5/6] d3dx9_36/tests: Added trigonometric functions test to HLSL test suite

2010-08-05 Thread Octavian Voicu
On Thu, Aug 5, 2010 at 3:58 PM, Joris Huizer wrote: > In this patch, you have this code: > > +    void *ret = NULL; > //... > +    ret = HeapAlloc(GetProcessHeap(), 0, 4 * samples); > +    for(i = 0;i < 32;i++) { > //... > +        memcpy((void*) (((DWORD) ret) + (4 * i)), lr.pBits, 4); > //... >

[PATCH 5/6] d3dx9_36/tests: Added trigonometric functions test to HLSL test suite

2010-08-05 Thread Joris Huizer
Hello Travis Athougies, In this patch, you have this code: +void *ret = NULL; //... +ret = HeapAlloc(GetProcessHeap(), 0, 4 * samples); +for(i = 0;i < 32;i++) { //... +memcpy((void*) (((DWORD) ret) + (4 * i)), lr.pBits, 4); //... +} I'm not sure, but I think this will cau