summaryrefslogtreecommitdiff
path: root/indra/llrender/llpostprocess.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-09-06 09:02:22 +0800
committerErik Kundiman <erik@megapahit.org>2023-09-06 09:02:22 +0800
commit1d2c62b79458feecb162f18764d0ff37f80414cf (patch)
tree814e1b34167aca14ea2df0d63e2fb86137ca2b2b /indra/llrender/llpostprocess.cpp
parent4b7e271dff7fa6ff813f9fc8f81cc2b6604de6db (diff)
Core profile shader functions, macros & type
replacing legacy ARB versions.
Diffstat (limited to 'indra/llrender/llpostprocess.cpp')
-rw-r--r--indra/llrender/llpostprocess.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llpostprocess.cpp b/indra/llrender/llpostprocess.cpp
index 4e0d43c8b4..d3449fb85d 100644
--- a/indra/llrender/llpostprocess.cpp
+++ b/indra/llrender/llpostprocess.cpp
@@ -577,7 +577,7 @@ void LLPostProcess::checkShaderError(GLuint shader)
checkError(); // Check for OpenGL errors
- glGetObjectParameterivARB(shader, GL_OBJECT_INFO_LOG_LENGTH_ARB, &infologLength);
+ glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infologLength);
checkError(); // Check for OpenGL errors
@@ -589,7 +589,7 @@ void LLPostProcess::checkShaderError(GLuint shader)
/// Could not allocate infolog buffer
return;
}
- glGetInfoLogARB(shader, infologLength, &charsWritten, infoLog);
+ glGetShaderInfoLog(shader, infologLength, &charsWritten, infoLog);
// shaderErrorLog << (char *) infoLog << std::endl;
mShaderErrorString = (char *) infoLog;
free(infoLog);