[vlc-devel] [PATCH] direct3d9: replace ID3DXBuffer (mingw) with ID3D10Blob

Steve Lhomme robux4 at videolabs.io
Mon Aug 17 15:23:32 CEST 2015


On Mon, Aug 17, 2015 at 3:17 PM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> On 17 Aug, Steve Lhomme wrote :
>> On Mon, Aug 17, 2015 at 3:01 PM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
>> > On 17 Aug, Steve Lhomme wrote :
>> >> -            LPD3DXBUFFER *ppShader,
>> >> -            LPD3DXBUFFER *ppErrorMsgs,
>> >> +            ID3D10Blob **ppShader,
>> >> +            ID3D10Blob **ppErrorMsgs,
>> >
>> > https://msdn.microsoft.com/en-us/library/windows/desktop/bb205753%28v=vs.85%29.aspx
>> > D3dx9.lib
>> >
>> > https://msdn.microsoft.com/en-us/library/windows/desktop/bb173507%28v=vs.85%29.aspx
>> > D3D10.lib
>> >
>> > This change requires Dx10, therefore Vista.
>> > I'm not sure it's a good idea.
>>
>> No, it's just COM calls. I just changed the old mingw-specific calls
>> to the proper Windows API entries. It builds fine here with mingw
>
> D3DXBUFFER is not mingw-specific.

Correct, I overlooked. I was looking at the MS headers for it and it
was nowhere. It must be in older SDKs.

> --
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list