2013/1/1 Rico Schüller <kgbric...@web.de>: > --- > dlls/d3dx9_36/shader.c | 16 +++++++++++----- > dlls/d3dx9_36/tests/shader.c | 21 +++++++++++++++++++++ > 2 Dateien geändert, 32 Zeilen hinzugefügt(+), 5 Zeilen entfernt(-) >
+static inline BOOL is_valid_bytecode(DWORD token) +{ + token &= 0xFFFF0000; + return token == 0xFFFF0000 || token == 0xFFFE0000; +} This series looks good to me, but I'd prefer you use lowercase hexadecimal constants in the future.