mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
auto merge of #2377 : aydinkim/servo/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.
This commit is contained in:
commit
052d3cb083
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ impl WindowMethods<Application> for Window {
|
|||
|
||||
fn hidpi_factor(&self) -> f32 {
|
||||
//FIXME: Do nothing in GLUT now.
|
||||
0f32
|
||||
1f32
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue