git-svn-id: http://skia.googlecode.com/svn/trunk@4338 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2012-06-26 12:56:54 +00:00
Родитель c2d6ce4c36
Коммит 009f62919f
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -336,7 +336,11 @@ bool GrSoftwarePathRenderer::onDrawPath(const SkPath& path,
if (sw_draw_path_to_mask_texture(path, pathBounds,
fill, fContext,
translate, &ast, antiAlias)) {
#if 1
GrTexture* texture = ast.texture();
#else
SkAutoTUnref<GrTexture> texture(ast.detach());
#endif
GrAssert(NULL != texture);
GrDrawTarget::AutoDeviceCoordDraw adcd(target, stageMask);
enum {