wined3d: Get rid of wined3d_buffer_get_type().
This commit is contained in:
parent
82e39ced7f
commit
efc080e3a3
|
@ -961,11 +961,6 @@ void CDECL wined3d_buffer_preload(struct wined3d_buffer *buffer)
|
|||
context_release(context);
|
||||
}
|
||||
|
||||
WINED3DRESOURCETYPE CDECL wined3d_buffer_get_type(const struct wined3d_buffer *buffer)
|
||||
{
|
||||
return resource_get_type(&buffer->resource);
|
||||
}
|
||||
|
||||
static DWORD buffer_sanitize_flags(struct wined3d_buffer *buffer, DWORD flags)
|
||||
{
|
||||
/* Not all flags make sense together, but Windows never returns an error. Catch the
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
@ cdecl wined3d_buffer_get_priority(ptr)
|
||||
@ cdecl wined3d_buffer_get_private_data(ptr ptr ptr ptr)
|
||||
@ cdecl wined3d_buffer_get_resource(ptr)
|
||||
@ cdecl wined3d_buffer_get_type(ptr)
|
||||
@ cdecl wined3d_buffer_incref(ptr)
|
||||
@ cdecl wined3d_buffer_map(ptr long long ptr long)
|
||||
@ cdecl wined3d_buffer_preload(ptr)
|
||||
|
|
|
@ -2933,7 +2933,6 @@ DWORD __cdecl wined3d_buffer_get_priority(const struct wined3d_buffer *buffer);
|
|||
HRESULT __cdecl wined3d_buffer_get_private_data(const struct wined3d_buffer *buffer,
|
||||
REFGUID guid, void *data, DWORD *data_size);
|
||||
struct wined3d_resource * __cdecl wined3d_buffer_get_resource(struct wined3d_buffer *buffer);
|
||||
WINED3DRESOURCETYPE __cdecl wined3d_buffer_get_type(const struct wined3d_buffer *buffer);
|
||||
ULONG __cdecl wined3d_buffer_incref(struct wined3d_buffer *buffer);
|
||||
HRESULT __cdecl wined3d_buffer_map(struct wined3d_buffer *buffer, UINT offset, UINT size, BYTE **data, DWORD flags);
|
||||
void __cdecl wined3d_buffer_preload(struct wined3d_buffer *buffer);
|
||||
|
|
Loading…
Reference in New Issue