d3d10: Fix a typo.

This commit is contained in:
Henri Verbeet 2009-03-02 08:52:48 +01:00 committed by Alexandre Julliard
parent 0e446d5912
commit 892ce1db5e
1 changed files with 2 additions and 2 deletions

View File

@ -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)