summaryrefslogtreecommitdiff
path: root/indra/llrender/llrender2dutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llrender/llrender2dutils.cpp')
-rw-r--r--indra/llrender/llrender2dutils.cpp22
1 files changed, 2 insertions, 20 deletions
diff --git a/indra/llrender/llrender2dutils.cpp b/indra/llrender/llrender2dutils.cpp
index 3c6848efaa..d3cfbaf03a 100644
--- a/indra/llrender/llrender2dutils.cpp
+++ b/indra/llrender/llrender2dutils.cpp
@@ -443,16 +443,7 @@ void gl_draw_scaled_image_with_border(S32 x, S32 y, S32 width, S32 height, LLTex
{
if (LLGLSLShader::sNoFixedFunction)
{
- // When running with a intel gfx card, do not use the solidcolor?.glsl files. Instead use a custom one
- // for those cards. Passing color as a uniform and not a shader attribute
- if(gGLManager.mIsIntel)
- {
- gSolidColorProgramIntel.bind();
- }
- else
- {
- gSolidColorProgram.bind();
- }
+ gSolidColorProgram.bind();
}
else
{
@@ -463,16 +454,7 @@ void gl_draw_scaled_image_with_border(S32 x, S32 y, S32 width, S32 height, LLTex
gGL.getTexUnit(0)->bind(image, true);
- // When running with a intel gfx card, do not use the solidcolor?.glsl files. Instead use a custom one
- // for those cards. Passing color as a uniform and not a shader attribute
- if( solid_color && LLGLSLShader::sNoFixedFunction && gGLManager.mIsIntel )
- {
- gGL.diffuseColor4fv(color.mV);
- }
- else
- {
- gGL.color4fv(color.mV);
- }
+ gGL.color4fv(color.mV);
const S32 NUM_VERTICES = 9 * 4; // 9 quads
LLVector2 uv[NUM_VERTICES];