wined3d: Store a pointer to the format description in the resource.
commit38178541b032edfd03086496b7c1c5c3ccfc01e7
authorHenri Verbeet <hverbeet@codeweavers.com>
Thu, 12 Mar 2009 08:53:14 +0000 (12 09:53 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 12 Mar 2009 12:09:55 +0000 (12 13:09 +0100)
treeb840be702471253732c4f5344995f750801962f6
parent81075d2db39273186f8298c3a042dc2e13caaab9
wined3d: Store a pointer to the format description in the resource.

The goal is to eventually use a pointer to the format description in most
places where we currently use WINED3DFORMAT. IWineD3DSurfaceImpl for example
has copies of several fields from the format description, but also needs to
lookup the format description itself in several places.
dlls/wined3d/resource.c
dlls/wined3d/wined3d_private.h