Henri Verbeet : wined3d: Also read comments in shader_sm1_is_end().
Alexandre Julliard
julliard at winehq.org
Mon Oct 22 13:42:44 CDT 2012
Module: wine
Branch: master
Commit: db3bdb0a765acfe53632cff137055430c7a1d17c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=db3bdb0a765acfe53632cff137055430c7a1d17c
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Sun Oct 21 20:20:36 2012 +0200
wined3d: Also read comments in shader_sm1_is_end().
---
dlls/wined3d/shader_sm1.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/shader_sm1.c b/dlls/wined3d/shader_sm1.c
index 18885f5..6ad1777 100644
--- a/dlls/wined3d/shader_sm1.c
+++ b/dlls/wined3d/shader_sm1.c
@@ -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);
More information about the wine-cvs
mailing list