Commit 892ce1db authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d10: Fix a typo.

parent 0e446d59
......@@ -32,8 +32,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d10);
static inline void read_dword(const char **ptr, DWORD *d)
{
memcpy(d, *ptr, sizeof(d));
*ptr += sizeof(d);
memcpy(d, *ptr, sizeof(*d));
*ptr += sizeof(*d);
}
static inline void skip_dword_unknown(const char **ptr, unsigned int count)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment