<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:kenneth@whitecape.org" title="Kenneth Graunke <kenneth@whitecape.org>"> <span class="fn">Kenneth Graunke</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - render error when run glsl demo or mesa demo with X"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=46376">bug 46376</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTOURBUG
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Depends on</td>
           <td>
                
           </td>
           <td>61640
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - render error when run glsl demo or mesa demo with X"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=46376#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - render error when run glsl demo or mesa demo with X"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=46376">bug 46376</a>
              from <span class="vcard"><a class="email" href="mailto:kenneth@whitecape.org" title="Kenneth Graunke <kenneth@whitecape.org>"> <span class="fn">Kenneth Graunke</span></a>
</span></b>
        <pre>I managed to bisect this down to:

commit 9a7f84d6b28e180ef79349b36de9a5d58a1e2dc9
Author: José Fonseca <<a href="mailto:jfonseca@vmware.com">jfonseca@vmware.com</a>>
Date:   Thu Jul 14 17:28:52 2011 +0100

    Squashed commit of the following:
    ...

which is the commit that removed Mark Kilgard's GLUT from the Mesa tree.  After
that, building Mesa no longer built libglut.  This meant that the demos started
running with your distro-provided libglut, which is typically freeglut (not
Kilgard's GLUT).

With freeglut and no window manager, the Mesa demos never get their Reshape()
function called, so their initial frustum and such never get set.  (Kilgard's
GLUT did cause Reshape() to get called.)  However, I don't believe this is a
bug; I believe freeglut's behavior is valid.

I've filed #61640 against Mesa demos; they should probably be enhanced to set
up their initial state and not rely on Reshape() getting automatically called. 
This is just generally a good idea.

In the meantime, I would just run with a window manager.  Closing this as
NOTOURBUG as it's a bug in the demos (or possibly freeglut), but not an actual
Mesa regression.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>