http://bugs.freedesktop.org/show_bug.cgi?id=11184





------- Comment #4 from [EMAIL PROTECTED]  2007-06-19 17:33 PST -------
There's at least two things wrong with the test program.

1. The current raster position is invalid when glDrawPixels is hit so nothing's
drawn.  Try glRasterPos2f(0, 0).

2. The dataBuf array is initialized incorrectly.  It should be something like
this:

   for (i = 0; i < size; i++) {
      dataBuf[i*3+0] = 255;
      dataBuf[i*3+1] = 255;
      dataBuf[i*3+2] = 255;
   }

Can you retest with these fixes?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to