More detailed sampler error message
This commit is contained in:
parent
b083021bbc
commit
2301892d1e
@ -108,7 +108,7 @@ namespace Components
|
|||||||
|
|
||||||
void Renderer::R_TextureFromCodeError(const char* sampler, Game::GfxCmdBufState* state)
|
void Renderer::R_TextureFromCodeError(const char* sampler, Game::GfxCmdBufState* state)
|
||||||
{
|
{
|
||||||
Game::Com_Error(0, "Tried to use '%s' when it isn't valid for material '%s' and technique '%s'",
|
Game::Com_Error(0, "Tried to use sampler '%s' when it isn't valid for material '%s' and technique '%s'",
|
||||||
sampler, state->material->info.name, state->technique->name);
|
sampler, state->material->info.name, state->technique->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user