mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 770414: Framebuffer stride isn't calculated properly for gonk fb back/Front Buffer. r=mwu
This commit is contained in:
parent
9e7357ba85
commit
b764eec0df
@ -102,7 +102,7 @@ Open()
|
||||
if (!sScreenSize) {
|
||||
sScreenSize = new gfxIntSize(sVi.xres, sVi.yres);
|
||||
}
|
||||
long stride = sScreenSize->width * bytesPerPixel;
|
||||
long stride = fi.line_length;
|
||||
size_t numFrameBytes = stride * sScreenSize->height;
|
||||
|
||||
sBuffers = new BufferVector(2);
|
||||
|
Loading…
Reference in New Issue
Block a user