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:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
well, if you see something, then it &quot;work better&quot;<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.
</blockquote><div><br>It works on both Nvidia and ATI on OSX, but not ATI on Windows.&nbsp; The code only clears the depth buffer, so I can't see what would trigger the clearing of any other buffers.&nbsp; Maybe the GLdefine constants are wrong or there is an OR being done?&nbsp; Try printing out GL_DEPTH_BUFFER_BIT, GL_CURRENT_BIT and GL_COLOR_BUFFER_BIT to the console.
<br><br>cgc<br></div><br></div><br>