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?