wined3d-Indexed_Vertex_Blending: 0002 fix patch apply

This commit is contained in:
gloriouseggroll 2018-02-20 22:19:10 -05:00
parent 669b58c813
commit 06a6abe197

View File

@ -192,8 +192,8 @@ index 2c40b2d9838..7c20934ad40 100644
DWORD texgen[MAX_TEXTURES];
};
@@ -4299,6 +4301,20 @@ static inline void *wined3d_calloc(SIZE_T count, SIZE_T size)
return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, count * size);
@@ -4298,6 +4348,20 @@ static inline BOOL wined3d_format_is_typeless(const struct wined3d_format *forma
return format->id == format->typeless_id && format->id != WINED3DFMT_UNKNOWN;
}
+static inline BOOL use_indexed_vertex_blending(const struct wined3d_state *state, const struct wined3d_stream_info *si)