[Wayland-bugs] [Bug 68331] Using glDrawElements with GL_UNSIGNED_INT type in draw_border

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 28 23:06:29 PDT 2013


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

Kristian Høgsberg <krh at bitplanet.net> changed:

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

--- Comment #1 from Kristian Høgsberg <krh at bitplanet.net> ---
Ah, right and mesa implements GL_OES_element_index_uint which is why it works
here.  Pushed to master:

commit 73db924ad314fcaa1030725aa46686c57b0933b8
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Wed Aug 28 23:05:29 2013 -0700

    gl-renderer: Use GL_UNSIGNED_SHORT for index array type

    GL_UNSIGNED_INT is only supported when GL_OES_element_index_uint is
    available (mesa implements that extension).  We don't need 32-bit
    indices, so just use GL_UNSIGNED_SHORT.

-- 
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/wayland-bugs/attachments/20130829/050da11f/attachment.html>


More information about the Wayland-bugs mailing list