[PATCH 3/5] wined3d: Initialize the last two components of R16G16_SINT attributes.
Henri Verbeet
hverbeet at gmail.com
Thu Jan 22 06:22:14 CST 2015
On 21 January 2015 at 18:32, Matteo Bruni <mbruni at 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?
More information about the wine-devel
mailing list