From a838650a40f03a5279312e957c229978d5e2598f Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 6 Apr 2009 01:01:31 +0000 Subject: [PATCH] try that git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3155 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/console.c | 2 +- engine/gl/gl_vidnt.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/engine/client/console.c b/engine/client/console.c index 00fba48b8..637a53e39 100644 --- a/engine/client/console.c +++ b/engine/client/console.c @@ -1000,7 +1000,7 @@ void Con_DrawInput (void) maskedtext[p] = (maskedtext[p]&255) | (COLOR_YELLOW<linewidth); if (key_linepos == i) //cursor is at end { diff --git a/engine/gl/gl_vidnt.c b/engine/gl/gl_vidnt.c index cdc2233f4..36fee709e 100644 --- a/engine/gl/gl_vidnt.c +++ b/engine/gl/gl_vidnt.c @@ -67,6 +67,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef WS_EX_LAYERED #define WS_EX_LAYERED 0x00080000 +#endif +#ifndef LWA_ALPHA #define LWA_ALPHA 0x00000002 #endif typedef BOOL (WINAPI *lpfnSetLayeredWindowAttributes)(HWND hwnd, COLORREF crKey, BYTE bAlpha, DWORD dwFlags); @@ -1010,7 +1012,7 @@ void VID_Size_Override_Callback(struct cvar_s *var, char *oldvalue) void VID_WndAlpha_Override_Callback(struct cvar_s *var, char *oldvalue) { -#ifdef GWL_EXSTYLE +#ifdef WS_EX_LAYERED if (modestate==MS_WINDOWED) { int av;