[Nouveau] [Bug 61635] glVertexAttribPointer(id, GL_UNSIGNED_BYTE, GL_FALSE, ...) does not work

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 4 11:54:59 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=61635

--- Comment #4 from rodrigo <rodrigorivascosta at gmail.com> ---
Created attachment 75914
  --> https://bugs.freedesktop.org/attachment.cgi?id=75914&action=edit
Test case to show the problem with unnormalized attribute pointers of type
GL_UNSIGNED_BYTE

Compile with:

$ gcc -o glbyte -Wall glbyte.c -lglut -lGLEW -lGL

Running with software rendering:

$ LIBGL_ALWAYS_SOFTWARE=1 ./glbyte

draws a beautiful star.

But with hardware rendering:

$ ./glbyte

it draws nothing :(

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130304/a7fed379/attachment.html>


More information about the Nouveau mailing list