From c4f5208806fe4136b19cce9f63f03820fc49d0cf Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Wed, 18 Aug 2010 01:34:01 +0000 Subject: peopsxgl: Readded windows support. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56180 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/peopsxgl/stdafx.h | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'plugins/peopsxgl/stdafx.h') diff --git a/plugins/peopsxgl/stdafx.h b/plugins/peopsxgl/stdafx.h index 1d845ff2..ffa66fd1 100644 --- a/plugins/peopsxgl/stdafx.h +++ b/plugins/peopsxgl/stdafx.h @@ -16,6 +16,28 @@ * * ***************************************************************************/ +#ifdef _WINDOWS + +#define _CRT_SECURE_NO_WARNINGS + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "resource.h" + +#pragma warning (disable:4244) +#pragma warning (disable:4761) + +#include + +#else + #define __X11_C_ #define __inline inline @@ -32,14 +54,17 @@ #include #define CALLBACK /* */ -#define __inline inline + +#endif #include "gl_ext.h" #define SHADETEXBIT(x) ((x>>24) & 0x1) #define SEMITRANSBIT(x) ((x>>25) & 0x1) - + +#ifndef _WINDOWS #ifndef GL_BGRA_EXT #define GL_BGRA_EXT GL_BGRA #endif #define GL_COLOR_INDEX8_EXT 0x80E5 +#endif -- cgit v1.2.3