Fix for crashing bots
TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1159183006
This commit is contained in:
parent
e5b74c6856
commit
8b08159aa7
@ -239,6 +239,7 @@ GrContext* GrContext::CreateMockContext() {
|
||||
|
||||
void GrContext::initMockContext() {
|
||||
GrContextOptions options;
|
||||
options.fGeometryBufferMapThreshold = 0;
|
||||
SkASSERT(NULL == fGpu);
|
||||
fGpu = SkNEW_ARGS(MockGpu, (this, options));
|
||||
SkASSERT(fGpu);
|
||||
|
Loading…
Reference in New Issue
Block a user