[D3D9 1/8] Remove const qualifier on state_test data

Alexandre Julliard julliard at winehq.org
Wed Oct 4 14:09:16 CDT 2006


Ivan Gyurdiev <ivg231 at gmail.com> writes:

> Type: Cleanup
>
> Why:
> The const qualifier is unnecessarily restrictive.
> I intend to allocate and free such data on the heap in a future patch
> (in addition to the current const data).

I still don't see any reason for this. Please fix your code to not
require that change by simply saving the pointer you are going to free
somewhere else.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list