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

Jean-Baptiste Kempf jb at videolan.org
Mon Aug 17 15:17:55 CEST 2015


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.


-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list