On Wed, Apr 25, 2007 at 12:12:28AM -0400, Arc Riley wrote:
> Angelo - I was able to confirm tonight on my TNT2 system the same problem 
> you're seeing.  So it's apparently nvidia related.

Update -

The line turning the window black, vs "clear" (ie, not updated at all) is the 
SwapBuffers.  If changed to single-buffer mode and that line removed we are 
clear vs black.  It's a good assumption that glClear is not working at all.

No other GL command draws anything.  At any point.

It thus stands to reason that we're missing a command.  Some mode isn't being 
set, some mode isn't being set to Identity, etc.  Here's the pseudocode which 
/should/ (as it does on other cards) be rendering a red window:

void drawit(void) {
  glViewport(0,0,320,240)
  glClearColor(1.0,0.0,0.0,0.0)
  glClear(0x00004000) # Clear Color
  glFlush()
  glutSwapBuffers()

int main(argc, argv) {
  glutInit(&argc, &argv)
  glutInitDisplayMode(0x0002) # Double Buffered
  glutCreateWindow("Red Test")
  glutDisplayFunc(drawit)
}

Can anyone see something out of order, missing, or otherwise flawed which by 
any stretch of the imagination would cause the glClear command not to draw a 
red window on nVidia cards?
_______________________________________________
PySoy-Dev mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-dev

Reply via email to