Yes, that mask is only for the depth buffer.&nbsp; The mask for color and depth would be 256 + 16384.&nbsp; <br><br><div><span class="gmail_quote">On 8/21/06, <b class="gmail_sendername">cyrille henry</b> &lt;<a href="mailto:cyrille.henry@la-kitchen.fr">
cyrille.henry@la-kitchen.fr</a>&gt; 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;post(&quot;mask %d, depth %d, current %d, color %d&quot;, 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>&gt; On 8/21/06, *cyrille henry* &lt;
<a href="mailto:cyrille.henry@la-kitchen.fr">cyrille.henry@la-kitchen.fr</a><br>&gt; &lt;mailto:<a href="mailto:cyrille.henry@la-kitchen.fr">cyrille.henry@la-kitchen.fr</a>&gt;&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; well, if you see something, then it &quot;work better&quot;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; i think we have the same problem.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; so, i think the gemglcleardeph and gemglclear does not only clear depth<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; buffer, but also the color buffer.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; but i don't really see why, and how to solve this.
<br>&gt;<br>&gt;<br>&gt; It works on both Nvidia and ATI on OSX, but not ATI on Windows.&nbsp;&nbsp;The<br>&gt; code only clears the depth buffer, so I can't see what would trigger the<br>&gt; clearing of any other buffers.&nbsp;&nbsp;Maybe the GLdefine constants are wrong
<br>&gt; or there is an OR being done?&nbsp;&nbsp;Try printing out GL_DEPTH_BUFFER_BIT,<br>&gt; GL_CURRENT_BIT and GL_COLOR_BUFFER_BIT to the console.<br>&gt;<br>&gt; cgc<br>&gt;<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------
<br>&gt;<br>&gt; _______________________________________________<br>&gt; GEM-dev mailing list<br>&gt; <a href="mailto:GEM-dev@iem.at">GEM-dev@iem.at</a><br>&gt; <a href="http://lists.puredata.info/listinfo/gem-dev">http://lists.puredata.info/listinfo/gem-dev
</a><br></blockquote></div><br>