Fix warnings
This commit is contained in:
parent
f3e1a0b6b0
commit
bdbd6ff036
|
|
@ -144,7 +144,7 @@ static void DrawNormals (shaderCommands_t *input) {
|
|||
if (!input) return;
|
||||
|
||||
const int vertexCount = input->numVertexes;
|
||||
if (vertexCount <= 0 || !input->xyz || !input->normal) return;
|
||||
if (vertexCount <= 0) return;
|
||||
if (!input->shader || input->shader->isSky) return; // do not draw over sky/clouds
|
||||
if (input->shader->numDeforms > 0) return; // skip vertex-deformed surfaces
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user