mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
replace abort() with _mesa_problem()
This commit is contained in:
parent
2f5b3c9607
commit
5c21747783
1 changed files with 5 additions and 2 deletions
|
|
@ -2124,8 +2124,11 @@ _slang_gen_field(slang_assemble_ctx * A, slang_operation *oper)
|
|||
return n;
|
||||
}
|
||||
else {
|
||||
/* the field is a structure member */
|
||||
abort();
|
||||
/* the field is a structure member (base.field) */
|
||||
/* oper->children[0] is the base */
|
||||
/* oper->a_id is the field name */
|
||||
_mesa_problem(NULL, "glsl structs/fields not supported yet");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue