mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 01:18:06 +02:00
mesa: throw a log warning any time a fallback texture is used
this generally means an app is broken in some way, so throw a log message to be helpful Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16821>
This commit is contained in:
parent
ad5c84999b
commit
87a53127e9
1 changed files with 1 additions and 0 deletions
|
|
@ -704,6 +704,7 @@ update_single_program_texture(struct gl_context *ctx, struct gl_program *prog,
|
|||
* Mesa implements this by creating a hidden texture object with a pixel of
|
||||
* that value.
|
||||
*/
|
||||
_mesa_log("MESA: Using fallback texture for target %u\n", target_index);
|
||||
texObj = _mesa_get_fallback_texture(ctx, target_index);
|
||||
assert(texObj);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue