mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 17:10:11 +01:00
mesa: move assertion after declaration
This commit is contained in:
parent
d255aaf54f
commit
2c3787f513
1 changed files with 1 additions and 1 deletions
|
|
@ -329,8 +329,8 @@ put_mono_values_z24(GLcontext *ctx, struct gl_renderbuffer *z24rb,
|
|||
}
|
||||
}
|
||||
else {
|
||||
assert(dsrb->Format == MESA_FORMAT_S8_Z24);
|
||||
const GLuint shiftedVal = *((GLuint *) value);
|
||||
assert(dsrb->Format == MESA_FORMAT_S8_Z24);
|
||||
for (i = 0; i < count; i++) {
|
||||
if (!mask || mask[i]) {
|
||||
temp[i] = shiftedVal | (temp[i] & 0xff000000);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue