Dirty patch Intel HD4000 shader-confusion

This commit is contained in:
Siana Gearz
2013-05-27 06:46:35 +02:00
parent c61415d785
commit 3cd16c84ef
3 changed files with 48 additions and 0 deletions

View File

@@ -451,6 +451,7 @@ void gl_draw_scaled_image_with_border(S32 x, S32 y, S32 width, S32 height, LLTex
gGL.getTexUnit(0)->bind(image, true);
gGL.color4fv(color.mV);
gGL.diffuseColor4fv(color.mV); //workaround: Intel HD 4000
const S32 NUM_VERTICES = 9 * 4; // 9 quads
LLVector2 uv[NUM_VERTICES];