OpenGL2: Use ri.Error instead of Com_Error in tr_vbo.c

Com_Error is a wrapper for ri.Error. Use it directly.
This commit is contained in:
Zack Middleton 2017-11-05 20:58:34 -06:00
parent 6ecfa4f263
commit e8450cae33
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ vao_t *R_CreateVao(const char *name, byte *vertexes, int vertexesSize, byte *ind
break;
default:
Com_Error(ERR_FATAL, "bad vaoUsage_t given: %i", usage);
ri.Error(ERR_FATAL, "bad vaoUsage_t given: %i", usage);
return NULL;
}