mingw changes (Nolan Leake)

This commit is contained in:
Brian Paul 2005-06-13 14:07:14 +00:00
parent 902e70875d
commit 2d218885ec
4 changed files with 7 additions and 5 deletions

View file

@ -1,4 +1,4 @@
/* $Id: wgl.c,v 1.7 2005/05/24 21:12:43 kschultz Exp $ */
/* $Id: wgl.c,v 1.8 2005/06/13 14:07:15 brianp Exp $ */
/*
* This library is free software; you can redistribute it and/or
@ -35,9 +35,10 @@
#define _GDI32_
#include <windows.h>
#include "wmesadef.h" /* headers for Mesa Windows driver source code */
#include "GL/wmesa.h" /* protos for wmesa* functions */
typedef struct wmesa_context *PWMC;
/*
* Pixel Format Descriptors
*/

View file

@ -45,13 +45,13 @@ extern "C" {
#include <stdio.h>
#include <tchar.h>
#include "../gdi/wmesadef.h"
#include "GL/wmesa.h"
#include "mtypes.h"
#include "glapi.h"
#define MAX_MESA_ATTRS 20
typedef struct wmesa_context *PWMC;
typedef struct _icdTable {
DWORD size;

View file

@ -76,7 +76,6 @@ EXPORTS
_mesa_test_proxy_teximage
_mesa_Viewport
_swrast_Accum
_swrast_alloc_buffers
_swrast_Bitmap
_swrast_CopyPixels
_swrast_DrawBuffer
@ -98,7 +97,6 @@ EXPORTS
_swrast_DestroyContext
_swrast_InvalidateState
_swrast_ReadPixels
_swrast_zbuffer_address
_swsetup_Wakeup
_swsetup_CreateContext
_swsetup_DestroyContext

View file

@ -81,6 +81,9 @@
#if _MSC_VER == 1200
typedef UINT_PTR uintptr_t;
#endif
#if defined(__MINGW32__)
#include <stdint.h>
#endif
#else
#include <inttypes.h>
#endif