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:
bsalomon@google.com 2012-01-30 14:07:26 +00:00
parent 7d72c45a9e
commit e5e3937a14

View File

@ -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