<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Dec 6, 2006, at 4:02 PM, chris clepper wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><BR><BR><DIV><SPAN class="gmail_quote">On 12/6/06, <B class="gmail_sendername">Hans-Christoph Steiner</B> &lt;<A href="mailto:hans@eds.org">hans@eds.org</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;"> <DIV style=""><DIV><SPAN class="q" id="q_10f598d961fc0c80_1"><BR><BR></SPAN></DIV><DIV>It seems to be a bug in Gem because mode 1 works fine after entering mode 0.  Its just when the patch starts up that it doesn't work.  After sending a [mode 0(, then both [mode 1( and [mode 0( work. </DIV></DIV></BLOCKQUOTE><DIV><BR>Here's the problem:<BR><BR>You build a binary where the GL driver you build against tells you that it supports rectangle textures.  Then when you run the binary using that same GL driver the texturing is not right.  Where is the bug? <BR></DIV></DIV></BLOCKQUOTE><BR></DIV><DIV>[mode 1( works fine after you send a [mode 0(.  So it seems to be some kind of init thing.  The first time when [pix_texture] loads, it defaults to mode 1, but doesn't work properly.  Then I send a [mode 0( message, and it works.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Now, I send a [mode 1( message, and it still works.  From here on out, both [mode 0( and [mode 1( work.  Or are you saying that you cannot switch back to [mode 1( once you switch to [mode 0(?  The message only takes effect the first time you send it?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>.hc</DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV>------------------------------------------------------------------------</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>                                              <A href="http://at.or.at/hans/">http://at.or.at/hans/</A></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>