diff options
| author | Erik Kundiman <erik@megapahit.org> | 2023-09-06 09:57:22 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2023-09-06 09:57:22 +0800 |
| commit | e155e53b290f638d853ed3a027c2c8f064ff8201 (patch) | |
| tree | a18ac1616be951a03a71440c9244f70496b182a3 /indra/llrender/llglslshader.cpp | |
| parent | 7b2b8ec46e42477f0ba43e2bc59f9fcc713d1565 (diff) | |
Core profile vertex attribute related functions
replacing legacy ARB versions.
Diffstat (limited to 'indra/llrender/llglslshader.cpp')
| -rw-r--r-- | indra/llrender/llglslshader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp index c402cab295..48bdfb6b51 100644 --- a/indra/llrender/llglslshader.cpp +++ b/indra/llrender/llglslshader.cpp @@ -1643,7 +1643,7 @@ void LLGLSLShader::vertexAttrib4f(U32 index, GLfloat x, GLfloat y, GLfloat z, GL { if (mAttribute[index] > 0) { - glVertexAttrib4fARB(mAttribute[index], x, y, z, w); + glVertexAttrib4f(mAttribute[index], x, y, z, w); } } @@ -1651,7 +1651,7 @@ void LLGLSLShader::vertexAttrib4fv(U32 index, GLfloat* v) { if (mAttribute[index] > 0) { - glVertexAttrib4fvARB(mAttribute[index], v); + glVertexAttrib4fv(mAttribute[index], v); } } |
