Yes, that mask is only for the depth buffer. The mask for color and depth would be 256 + 16384. <br><br><div><span class="gmail_quote">On 8/21/06, <b class="gmail_sendername">cyrille henry</b> <<a href="mailto:cyrille.henry@la-kitchen.fr">
cyrille.henry@la-kitchen.fr</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I add the line :<br><br> post("mask %d, depth %d, current %d, color %d", mask,
<br>GL_DEPTH_BUFFER_BIT, GL_CURRENT_BIT, GL_COLOR_BUFFER_BIT);<br><br><br>and it gives me :<br>mask 256, depth 256, current 1, color 16384<br><br>looks OK.<br>???<br><br>cyrille<br><br>chris clepper a écrit :<br>> On 8/21/06, *cyrille henry* <
<a href="mailto:cyrille.henry@la-kitchen.fr">cyrille.henry@la-kitchen.fr</a><br>> <mailto:<a href="mailto:cyrille.henry@la-kitchen.fr">cyrille.henry@la-kitchen.fr</a>>> wrote:<br>><br>> well, if you see something, then it "work better"
<br>> i think we have the same problem.<br>><br>> so, i think the gemglcleardeph and gemglclear does not only clear depth<br>> buffer, but also the color buffer.<br>> but i don't really see why, and how to solve this.
<br>><br>><br>> It works on both Nvidia and ATI on OSX, but not ATI on Windows. The<br>> code only clears the depth buffer, so I can't see what would trigger the<br>> clearing of any other buffers. Maybe the GLdefine constants are wrong
<br>> or there is an OR being done? Try printing out GL_DEPTH_BUFFER_BIT,<br>> GL_CURRENT_BIT and GL_COLOR_BUFFER_BIT to the console.<br>><br>> cgc<br>><br>><br>><br>> ------------------------------------------------------------------------
<br>><br>> _______________________________________________<br>> GEM-dev mailing list<br>> <a href="mailto:GEM-dev@iem.at">GEM-dev@iem.at</a><br>> <a href="http://lists.puredata.info/listinfo/gem-dev">http://lists.puredata.info/listinfo/gem-dev
</a><br></blockquote></div><br>