Changeset f0d84d019c8c240c47672b82be123dc979b8d09e

Show
Ignore:
Timestamp:
17/09/08 03:45:58 (3 months ago)
Author:
Derk-Jan Hartman <hartman@videolan.org>
git-committer:
Derk-Jan Hartman <hartman@videolan.org> 1221615958 +0200
git-parent:

[fa78d3b351465c9356b64484b9796d200598fbe8]

git-author:
Derk-Jan Hartman <hartman@videolan.org> 1221615958 +0200
Message:

quartztext: Use 10.4 compatible alternative to kCGColorBlack

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/misc/quartztext.c

    reb5bc9e rf0d84d0  
    12351235            CGContextSetTextDrawingMode( p_context, kCGTextFillStroke ); 
    12361236            CGContextSetShadow( p_context, CGSizeMake( 0, 0 ), 5 ); 
    1237             CGContextSetShadowWithColor (p_context, CGSizeMake( 0, 0 ), 5, CGColorGetConstantColor(kCGColorBlack)); 
     1237            float black_components[4] = {1, 1, 1, 1}; 
     1238            CGContextSetShadowWithColor (p_context, CGSizeMake( 0, 0 ), 5, CGColorCreate( kCGColorSpaceGenericRGB, black_components )); 
    12381239            do 
    12391240            {