fix compilation errors when VISUALIZE_COMPLEX_CLIP is set (debug assist code path)
Review URL: http://codereview.appspot.com/5596043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3100 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
7d72c45a9e
commit
e5e3937a14
@ -434,7 +434,7 @@ void GrGpu::ConvertStencilFuncAndMask(GrStencilFunc func,
|
||||
#if VISUALIZE_COMPLEX_CLIP
|
||||
#include "GrRandom.h"
|
||||
GrRandom gRandom;
|
||||
#define SET_RANDOM_COLOR this->setColor(0xff000000 | gRandom.nextU());
|
||||
#define SET_RANDOM_COLOR drawState->setColor(0xff000000 | gRandom.nextU());
|
||||
#else
|
||||
#define SET_RANDOM_COLOR
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user