[PATCH 01/12] d3d10: Fix a HeapFree() in d3d10_effect_Release().
Stefan Dösinger
stefandoesinger at gmx.at
Wed Oct 28 05:32:58 CDT 2009
Am 27.10.2009 um 20:10 schrieb Rico Schüller:
> Hi,
>
> this patch series implements a couple of ID3D10EffectVariable::As*()
> functions (patches 2-11).
Do we have any tests for the As* behavior?
Most conversions don't make any sense, so if the app wants a constant
buffer as a render target view returning a null obj is probably a
sane thing. But ::AsString potentially makes sense for all objects,
maybe in a similar way Object::ToString is used to obtain a String for
debug output in Java.
Also, do we know what happens if the object is "converted" back to its
original state? E.g.
constant_buffer = render_target_view::AsConstantBuffer();
render_target_view2 = constantBuffer::AsRenderTargetView?
As far as I understand it, your code would return a null rt view. Is
this correct?
More information about the wine-devel
mailing list