do not draw with SALCOLOR_NONE
Change-Id: I882a42f58ac298d333985068b2fe6ef9ac198c8b
This commit is contained in:
@@ -406,6 +406,8 @@ bool OpenGLSalGraphicsImpl::UseSolid( SalColor nColor )
|
||||
// Like UseSolid(), but sets up for AA drawing, which uses gradients to create the AA.
|
||||
bool OpenGLSalGraphicsImpl::UseSolidAA( SalColor nColor, double fTransparency )
|
||||
{
|
||||
if( nColor == SALCOLOR_NONE )
|
||||
return false;
|
||||
if( !mrParent.getAntiAliasB2DDraw())
|
||||
return UseSolid( nColor );
|
||||
if( !UseProgram( "textureVertexShader", "linearGradientFragmentShader" ) )
|
||||
|
Reference in New Issue
Block a user