[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH 3/5] wined3d: Initialize the last two components of R16G16_SINT attributes.
From:       Henri Verbeet <hverbeet () gmail ! com>
Date:       2015-01-22 12:22:14
Message-ID: CAOsNvww7PZFxh-djDZm1noyEJV-7sJX6zHx7KqCCJiprv7XpGw () mail ! gmail ! com
[Download RAW message or body]

On 21 January 2015 at 18:32, Matteo Bruni <mbruni@codeweavers.com> wrote:
> -            GL_EXTCALL(glVertexAttrib4svARB(index, ptr));
> +        {
> +            GLshort s[4] = {((const GLshort *)ptr)[0], ((const GLshort *)ptr)[1], 0, 1};
> +            GL_EXTCALL(glVertexAttrib4svARB(index, s));
>              break;
> +        }
Perhaps I'm missing something, but wouldn't it be much easier to just
use glVertexAttrib2svARB() instead?


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic