зеркало из https://github.com/mozilla/moz-skia.git
Reverting r4324
git-svn-id: http://skia.googlecode.com/svn/trunk@4338 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
c2d6ce4c36
Коммит
009f62919f
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче