projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf7f998
)
Compute stride in the right order
author
Jon Smirl
<jonsmirl@gmail.com>
Tue, 17 May 2005 03:38:06 +0000
(
03:38
+0000)
committer
Jon Smirl
<jonsmirl@gmail.com>
Tue, 17 May 2005 03:38:06 +0000
(
03:38
+0000)
src/mesa/drivers/dri/fb/fb_egl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/fb/fb_egl.c
b/src/mesa/drivers/dri/fb/fb_egl.c
index 813afec03525c9da5041c2dbb9c6bafde3afeeba..62e26021c5a145628ef23a425624555137b54f3a 100644
(file)
--- a/
src/mesa/drivers/dri/fb/fb_egl.c
+++ b/
src/mesa/drivers/dri/fb/fb_egl.c
@@
-654,9
+654,9
@@
fbCreateScreenSurfaceMESA(_EGLDriver *drv, EGLDisplay dpy, EGLConfig cfg,
}
width = surface->Base.Width;
- stride = width * bytesPerPixel;
height = surface->Base.Height;
bytesPerPixel = vis.rgbBits / 8;
+ stride = width * bytesPerPixel;
origin = 0;
/* front color renderbuffer */