зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #2377 - Fix hidpi parameter of android (from aydinkim:hidpi); r=larsbergstrom
Fix for android rendering. Need to consider about getting accurate size framebuffer & window parameter respectively from android stack and follow up the stuffs on another platform. Source-Repo: https://github.com/servo/servo Source-Revision: 052d3cb0835470da281669b8dce1c9c51e8e7b9e
This commit is contained in:
Родитель
7e9d46c1fa
Коммит
15348adae1
|
@ -182,7 +182,7 @@ impl WindowMethods<Application> for Window {
|
|||
|
||||
fn hidpi_factor(&self) -> f32 {
|
||||
//FIXME: Do nothing in GLUT now.
|
||||
0f32
|
||||
1f32
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче