diff options
Diffstat (limited to 'source/blender/blenkernel/intern/DerivedMesh.c')
-rw-r--r-- | source/blender/blenkernel/intern/DerivedMesh.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c index 0c10a40e432..c705c7adedb 100644 --- a/source/blender/blenkernel/intern/DerivedMesh.c +++ b/source/blender/blenkernel/intern/DerivedMesh.c @@ -3431,7 +3431,7 @@ void DM_draw_attrib_vertex(DMVertexAttribs *attribs, int a, int index, int vert, if (attribs->orco.gl_texco) glTexCoord3fv(orco); else - glVertexAttrib3fvARB(attribs->orco.gl_index, orco); + glVertexAttrib3fv(attribs->orco.gl_index, orco); } /* uv texture coordinates */ @@ -3449,7 +3449,7 @@ void DM_draw_attrib_vertex(DMVertexAttribs *attribs, int a, int index, int vert, if (attribs->tface[b].gl_texco) glTexCoord2fv(uv); else - glVertexAttrib2fvARB(attribs->tface[b].gl_index, uv); + glVertexAttrib2fv(attribs->tface[b].gl_index, uv); } /* vertex colors */ @@ -3464,14 +3464,14 @@ void DM_draw_attrib_vertex(DMVertexAttribs *attribs, int a, int index, int vert, col[0] = 0; col[1] = 0; col[2] = 0; col[3] = 0; } - glVertexAttrib4ubvARB(attribs->mcol[b].gl_index, col); + glVertexAttrib4ubv(attribs->mcol[b].gl_index, col); } /* tangent for normal mapping */ if (attribs->tottang) { /*const*/ float (*array)[4] = attribs->tang.array; const float *tang = (array) ? array[loop] : zero; - glVertexAttrib4fvARB(attribs->tang.gl_index, tang); + glVertexAttrib4fv(attribs->tang.gl_index, tang); } } |