Browse Source

Compute stride in the right order

tags/the_perfect_frag
Jon Smirl 20 years ago
parent
commit
40c1c723fb
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/drivers/dri/fb/fb_egl.c

+ 1
- 1
src/mesa/drivers/dri/fb/fb_egl.c View File

@@ -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 */

Loading…
Cancel
Save