From 88692f92d997c1521d0b929e1aa42063c5182b58 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 19 Feb 2013 14:45:50 +0900 Subject: [PATCH] Fix the calls for Draw_Init in the gl renderers. While namehack.h took care of the symbol mangling, I do prefer the calls to be correct as it reduces confusion. --- libs/video/renderer/gl/gl_rmisc.c | 2 +- libs/video/renderer/glsl/glsl_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/video/renderer/gl/gl_rmisc.c b/libs/video/renderer/gl/gl_rmisc.c index faacd27c2..a399c26bd 100644 --- a/libs/video/renderer/gl/gl_rmisc.c +++ b/libs/video/renderer/gl/gl_rmisc.c @@ -148,7 +148,7 @@ gl_R_Init (void) "Load a pointfile to determine map leaks"); Cmd_AddCommand ("loadsky", gl_R_LoadSky_f, "Load a skybox"); - Draw_Init (); + gl_Draw_Init (); SCR_Init (); gl_R_InitBubble (); diff --git a/libs/video/renderer/glsl/glsl_main.c b/libs/video/renderer/glsl/glsl_main.c index 2f28cc722..9fd3a9c0c 100644 --- a/libs/video/renderer/glsl/glsl_main.c +++ b/libs/video/renderer/glsl/glsl_main.c @@ -252,7 +252,7 @@ glsl_R_Init (void) "Test the current refresh rate for the current location."); R_Init_Cvars (); glsl_R_Particles_Init_Cvars (); - Draw_Init (); + glsl_Draw_Init (); SCR_Init (); glsl_R_InitBsp (); glsl_R_InitAlias ();