"Y. W. Ko" wrote:
> 
> Mesa Version: 3.0
> Platform: OpenLinux 2.2 & AIX 4.2
> X Visual: 16bit True Color & 16 Bit Pseudo Color on OpenLinux XFree86
>             8bit Pseudo Color on AIX
> Compiler: gcc
> 
> Description: The book/stencil.c program does not render correctly.
>         1) On start up, the diamond is noticeably missing.
>         2) If the window is brought to the front, e.g. after being
> minimized, the
> blue sphere as well as the diamond shape is missing. This doesn't affect
> resizing although it still has the problem described in 1).

Actually, this demo program is broken.  In the display() function,
glClear() should NOT clear the stencil buffer.  That erases the
"blue" diamond in the stencil buffer which was put there in the
myReshape() function.

I've fixed this demo for Mesa 3.1.  Thanks for the tip.

-Brian

----------------------------------------------------------------------
Brian Paul        Avid Technology / Softimage      [EMAIL PROTECTED]


_______________________________________________
Mesa-bug maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-bug


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to