mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
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:
parent
6ecfa4f263
commit
e8450cae33
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue