wined3d: Also read comments in shader_sm1_is_end().

This commit is contained in:
Henri Verbeet 2012-10-21 20:20:36 +02:00 committed by Alexandre Julliard
parent a6eec2cf6a
commit db3bdb0a76
1 changed files with 2 additions and 0 deletions

View File

@ -754,6 +754,8 @@ static void shader_sm1_read_instruction(void *data, const DWORD **ptr, struct wi
static BOOL shader_sm1_is_end(void *data, const DWORD **ptr)
{
shader_sm1_read_comment(ptr);
if (**ptr == WINED3DSP_END)
{
++(*ptr);