mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 23:18:20 +02:00
mesa: return after _mesa_problem() calls
This commit is contained in:
parent
d2e0504d4e
commit
11a889db8f
2 changed files with 3 additions and 0 deletions
|
|
@ -1117,6 +1117,7 @@ static void FETCH(ci8)( const struct gl_texture_image *texImage,
|
|||
break;;
|
||||
default:
|
||||
_mesa_problem(ctx, "Bad palette format in fetch_texel_ci8");
|
||||
return;
|
||||
}
|
||||
#if CHAN_TYPE == GL_UNSIGNED_BYTE
|
||||
COPY_4UBV(texel, texelUB);
|
||||
|
|
|
|||
|
|
@ -342,6 +342,7 @@ lerp_rgba_3d(GLchan result[4], GLfloat a, GLfloat b, GLfloat c,
|
|||
break; \
|
||||
default: \
|
||||
_mesa_problem(ctx, "Bad wrap mode"); \
|
||||
return; \
|
||||
} \
|
||||
}
|
||||
|
||||
|
|
@ -462,6 +463,7 @@ lerp_rgba_3d(GLchan result[4], GLfloat a, GLfloat b, GLfloat c,
|
|||
break; \
|
||||
default: \
|
||||
_mesa_problem(ctx, "Bad wrap mode"); \
|
||||
return; \
|
||||
} \
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue