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


Brian Paul <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #6 from Brian Paul <[EMAIL PROTECTED]>  2008-04-23 15:10:30 PST ---
Your parameters to glMultiDrawElements() are incorrect.  

If you replace:
   glMultiDrawElements(GL_TRIANGLE_STRIP, tsci, tsfi, tsin);

with:
   glMultiDrawElements(GL_TRIANGLE_STRIP, tsci, GL_UNSIGNED_SHORT, tsfi, tsin);

You should get closer to success.  Also, the type of tsci should be GLsizei.

If you add #define GL_GLEXT_PROTOTYPES at the top of your code and compile with
warning flags such as -pedantic -ansi -Wall you'll be more likely to find
problems like this.


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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to