about summary refs log tree commit diff
path: root/src/engine/client/ec_gfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/client/ec_gfx.c')
-rw-r--r--src/engine/client/ec_gfx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine/client/ec_gfx.c b/src/engine/client/ec_gfx.c
index 888963ba..5a61f7c7 100644
--- a/src/engine/client/ec_gfx.c
+++ b/src/engine/client/ec_gfx.c
@@ -328,7 +328,7 @@ int gfx_init()
 
 	/* set vsync as needed */
 	gfx_set_vsync(config.gfx_vsync);
-	return 1;
+	return 0;
 }
 
 float gfx_screenaspect()
@@ -905,11 +905,12 @@ void gfx_quads_draw_freeform(
 	add_vertices(4);
 }
 
-void gfx_quads_text(float x, float y, float size, const char *text)
+void gfx_quads_text(float x, float y, float size, float r, float g, float b, float a, const char *text)
 {
 	float startx = x;
 
 	gfx_quads_begin();
+	gfx_setcolor(r,g,b,a);
 
 	while(*text)
 	{