Re: [PATCH 3/5] wined3d: Initialize the last two components of R16G16_SINT attributes.
22 Jan
2015
22 Jan
'15
6:22 a.m.
On 21 January 2015 at 18:32, Matteo Bruni <mbruni(a)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?
3974
Age (days ago)
3974
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet