X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fcontext.cpp;h=9ac1020df4d203ac2b3936458a36a131f549e7fc;hb=2f015c519aa92f29144873527c109c21c171c6a7;hp=144eba70d98c6c108e99fd4b39e6b2c67174dadb;hpb=4418e68821c7c860fb25a914aa103d800513ea7d;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/context.cpp b/synfig-core/trunk/src/synfig/context.cpp index 144eba7..9ac1020 100644 --- a/synfig-core/trunk/src/synfig/context.cpp +++ b/synfig-core/trunk/src/synfig/context.cpp @@ -264,7 +264,7 @@ Context::accelerated_render(Surface *surface,int quality, const RendDesc &rendde // using the appropriate 'amount' if (straight_and_empty) { - if (ret = Context((context+1)).accelerated_render(surface,quality,renddesc,cb)) + if ((ret = Context((context+1)).accelerated_render(surface,quality,renddesc,cb))) { Surface clearsurface; clearsurface.set_wh(renddesc.get_w(),renddesc.get_h());