[ioquake3] 01/12: OpenGL2: Use ri.Error instead of Com_Error in tr_vbo.c

Simon McVittie smcv at debian.org
Mon Nov 27 12:04:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag debian/1.36+u20171122_dfsg-1
in repository ioquake3.

commit e8450cae33fbfaa24202e28dce1a49fa88e857c4
Author: Zack Middleton <zack at cloemail.com>
Date:   Sun Nov 5 20:58:34 2017 -0600

    OpenGL2: Use ri.Error instead of Com_Error in tr_vbo.c
    
    Com_Error is a wrapper for ri.Error. Use it directly.
---
 code/renderergl2/tr_vbo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/code/renderergl2/tr_vbo.c b/code/renderergl2/tr_vbo.c
index e4d0ca3..89e9911 100644
--- a/code/renderergl2/tr_vbo.c
+++ b/code/renderergl2/tr_vbo.c
@@ -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;
 	}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git



More information about the Pkg-games-commits mailing list