diff options
author | José Fonseca <[email protected]> | 2011-08-29 13:26:36 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2011-08-30 09:42:01 +0100 |
commit | d290febdc83a828b1cbe6a5e7155e47b29385dad (patch) | |
tree | bb1db3f5773d31f24127fab55300b31178fbe715 /src/mesa/drivers/windows | |
parent | 191428ccb86af462a8872da6937ab004c5691745 (diff) |
gdi: Remove mesa_wgl.h
All commonly used windows toolchains define wgl entrypoints in the windows
headers, and mesa_wgl.h not only is unnecessary but actually often stands
in the waydue to slight inconsistencies.
So remove it.
Diffstat (limited to 'src/mesa/drivers/windows')
-rw-r--r-- | src/mesa/drivers/windows/gdi/wgl.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/mesa/drivers/windows/gdi/wgl.c b/src/mesa/drivers/windows/gdi/wgl.c index bf4ca9c908f..33baabee63f 100644 --- a/src/mesa/drivers/windows/gdi/wgl.c +++ b/src/mesa/drivers/windows/gdi/wgl.c @@ -29,31 +29,8 @@ */ -/* We're essentially building part of GDI here, so define this so that - * we get the right export linkage. */ -#ifdef __MINGW32__ - -#include <stdarg.h> -#include <windef.h> -#include <wincon.h> -#include <winbase.h> - -# if defined(BUILD_GL32) -# define WINGDIAPI __declspec(dllexport) -# else -# define __W32API_USE_DLLIMPORT__ -# endif - -#include <wingdi.h> -#include "GL/mesa_wgl.h" -#include <stdlib.h> - -#else - -#define _GDI32_ #include <windows.h> -#endif #include "main/config.h" #include "glapi/glapi.h" #include "GL/wmesa.h" /* protos for wmesa* functions */ |