diff options
| author | Erik Kundiman <erik@megapahit.org> | 2023-09-06 08:15:16 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2023-09-06 08:15:16 +0800 |
| commit | 4b7e271dff7fa6ff813f9fc8f81cc2b6604de6db (patch) | |
| tree | 1b74250c8f22f09a42d23ed5b7760e3d24ae69f7 /indra/llrender/llpostprocess.h | |
| parent | ed44bcf9f763a7d1f7549eb1f03d8aa7fb933ef7 (diff) | |
Core profile glCreateShader & return type GLuint
to replace the less portable ARB versions.
Diffstat (limited to 'indra/llrender/llpostprocess.h')
| -rw-r--r-- | indra/llrender/llpostprocess.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llpostprocess.h b/indra/llrender/llpostprocess.h index ce17b6693d..bdfc632831 100644 --- a/indra/llrender/llpostprocess.h +++ b/indra/llrender/llpostprocess.h @@ -249,12 +249,12 @@ private: void applyColorFilterShader(void); /// OpenGL Helper Functions - void getShaderUniforms(glslUniforms & uniforms, GLhandleARB & prog); + void getShaderUniforms(glslUniforms & uniforms, GLuint & prog); void createTexture(LLPointer<LLImageGL>& texture, unsigned int width, unsigned int height); void copyFrameBuffer(U32 & texture, unsigned int width, unsigned int height); void createNoiseTexture(LLPointer<LLImageGL>& texture); bool checkError(void); - void checkShaderError(GLhandleARB shader); + void checkShaderError(GLuint shader); void drawOrthoQuad(unsigned int width, unsigned int height, QuadType type); void viewOrthogonal(unsigned int width, unsigned int height); void changeOrthogonal(unsigned int width, unsigned int height); |
