https://bugs.freedesktop.org/show_bug.cgi?id=47375

--- Comment #8 from Barto <mister.free...@laposte.net> 2012-07-24 16:01:22 PDT 
---
(In reply to comment #7)
> That looks about right.  How exactly did you configure/build Mesa?  You make
> need something like "CFLAGS=-g ./configure ..." to make sure you get -g and 
> not
> -O2 when building Mesa.
> 
> Otherwise, you could try putting a printf near s_span.c:1327 to get the value.



finally I succeed to get the value of "colorType",

I set a breakpoint like this in gdb :

break s_span.c:1326

after that gdb manages to reach the breakpoint :

Breakpoint 1, _swrast_write_rgba_span (ctx=ctx@entry=0xbc60648,
span=span@entry=0xbfffe750)
    at swrast/s_span.c:1326
1326                assert(colorType == GL_UNSIGNED_BYTE ||


then I can see the value of colorType:


(gdb) print colorType
$1 = 0

colorType is set to zero here

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to