From 3f17dfb8ba48d874814ce0e4a0b7d9e57feb4c36 Mon Sep 17 00:00:00 2001 From: Ted Jump Date: Wed, 20 Oct 1999 06:56:40 +0000 Subject: Minor patches to cleanup some compiler warnings in MSVC --- src/mesa/drivers/glide/fxwgl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/glide/fxwgl.c b/src/mesa/drivers/glide/fxwgl.c index 3ba7f7a4b4..7b19176c7e 100644 --- a/src/mesa/drivers/glide/fxwgl.c +++ b/src/mesa/drivers/glide/fxwgl.c @@ -28,14 +28,14 @@ extern "C" { #endif #include -#include +#include "GL/gl.h" #ifdef __cplusplus } #endif #include -#include +#include "GL/fxmesa.h" #include "fxdrv.h" #define MAX_MESA_ATTRS 20 @@ -542,7 +542,7 @@ BOOL GLAPIENTRY wglUseFontBitmaps(HDC fontDevice, DWORD firstChar, DWORD numChar SetTextColor(bitDevice, tempColor); // Place chars based on base line - VERIFY(SetTextAlign(bitDevice, TA_BASELINE) >= 0); + VERIFY(SetTextAlign(bitDevice, TA_BASELINE) >= 0 ? 1 : 0); for(i = 0; i < numChars; i++) { SIZE size; -- cgit v1.2.3