More detailed sampler error message

This commit is contained in:
rackover 2021-04-04 12:05:38 +02:00
parent b083021bbc
commit 2301892d1e

View File

@ -108,7 +108,7 @@ namespace Components
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);
}