Fix night view
This commit is contained in:
parent
d3f42f4737
commit
4e9088af31
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue