mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
mesa: minor error msg improvement
This commit is contained in:
parent
e92d97d75b
commit
803504e69f
1 changed files with 2 additions and 1 deletions
|
|
@ -2168,7 +2168,8 @@ copytexsubimage_error_check2( GLcontext *ctx, GLuint dimensions,
|
|||
|
||||
if (!_mesa_source_buffer_exists(ctx, teximage->_BaseFormat)) {
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION,
|
||||
"glCopyTexSubImage%dD(missing readbuffer)", dimensions);
|
||||
"glCopyTexSubImage%dD(missing readbuffer, format=0x%x)",
|
||||
dimensions, teximage->_BaseFormat);
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue