mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
mesa: initialize stencilMap, Stride if stencilRb==depthRb
This commit is contained in:
parent
010dc29283
commit
f4c03da327
1 changed files with 4 additions and 0 deletions
|
|
@ -412,6 +412,10 @@ slow_read_depth_stencil_pixels_separate(struct gl_context *ctx,
|
|||
GL_MAP_READ_BIT, &stencilMap,
|
||||
&stencilStride);
|
||||
}
|
||||
else {
|
||||
stencilMap = depthMap;
|
||||
stencilStride = depthStride;
|
||||
}
|
||||
|
||||
for (j = 0; j < height; j++) {
|
||||
GLubyte stencilVals[MAX_WIDTH];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue