From 06371ecc4597b34bf5f9ac3cd9bfa3c835c528f3 Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Mon, 5 Nov 2001 02:47:58 +0000 Subject: Re-fixed the menus and enabled another font drawing function. Fixed Profile Loading/Saving (had to disable debug mode). --- src/menus.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/menus.c') diff --git a/src/menus.c b/src/menus.c index 4d0ff6e..0be521b 100644 --- a/src/menus.c +++ b/src/menus.c @@ -137,6 +137,8 @@ int RenderMenuText(char *textPtr, int x, int y, int alpha, enum AVPMENUFORMAT_ID int RenderMenuText_Clipped(char *textPtr, int x, int y, int alpha, enum AVPMENUFORMAT_ID format, int topY, int bottomY) { + return Hardware_RenderSmallMenuText(textPtr, x, y, alpha, format); + fprintf(stderr, "RenderMenuText_Clipped(%s, %d, %d, %d, %d, %d, %d)\n", textPtr, x, y, alpha, format, topY, bottomY); return 0; @@ -282,7 +284,11 @@ void InitialiseMenuGfx() } glEnable(GL_BLEND); +// glBlendFunc(GL_ONE, GL_ONE); + glBlendFunc(GL_SRC_ALPHA, GL_ONE); + glDisable(GL_DEPTH_TEST); + glEnable(GL_TEXTURE_2D); glClear(GL_COLOR_BUFFER_BIT); -- cgit v1.3