Fix night view

This commit is contained in:
Victor Shcherb 2012-06-16 18:40:02 +02:00
parent d3f42f4737
commit 4e9088af31

View file

@ -226,7 +226,7 @@ extern "C" JNIEXPORT jobject JNICALL Java_net_osmand_plus_render_NativeOsmandLib
// Main part do rendering
rc.nativeOperations.start();
SkCanvas* canvas = new SkCanvas(*bitmap);
canvas->drawColor(rc.getDefaultColor() | 0xFFCCCCCC);
canvas->drawColor(rc.getDefaultColor());
if(result != NULL) {
doRendering(result->result, canvas, req, &rc);
}
@ -306,7 +306,7 @@ extern "C" JNIEXPORT jobject JNICALL Java_net_osmand_NativeLibrary_generateRende
// Main part do rendering
SkCanvas* canvas = new SkCanvas(*bitmap);
canvas->drawColor(rc.getDefaultColor() | 0xFFCCCCCC);
canvas->drawColor(rc.getDefaultColor());
if (result != NULL) {
doRendering(result->result, canvas, req, &rc);
}