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 committed 2017-11-05 20:58:57 -06:00
1 parent 6ecfa4f263
commit e8450cae33
1 file changed
+1 -1
+1 -1
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;
}