X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu-gles%2FgpuStdafx.h;fp=plugins%2Fgpu-gles%2FgpuStdafx.h;h=fc7ee3d5e85fb5bd18e8c81e586d44507e81ee21;hp=0000000000000000000000000000000000000000;hb=ce879073e4f228deec8bec5db8a2ff640636c88f;hpb=3a255ce52a55a2065429b8baad000c72aed31e97 diff --git a/plugins/gpu-gles/gpuStdafx.h b/plugins/gpu-gles/gpuStdafx.h new file mode 100644 index 00000000..fc7ee3d5 --- /dev/null +++ b/plugins/gpu-gles/gpuStdafx.h @@ -0,0 +1,99 @@ +/*************************************************************************** + stdafx.h - description + ------------------- + begin : Sun Mar 08 2009 + copyright : (C) 1999-2009 by Pete Bernert + web : www.pbernert.com + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. See also the license.txt file for * + * additional informations. * + * * + ***************************************************************************/ + +//*************************************************************************// +// History of changes: +// +// 2009/03/08 - Pete +// - generic cleanup for the Peops release +// +//*************************************************************************// + +#ifndef __GPU_STDAFX__ +#define __GPU_STDAFX__ + +#ifdef __cplusplus +extern "C" { +#endif + + + + + + // maybe we should remove this? +#ifdef _WINDOWS + +#define _CRT_SECURE_NO_WARNINGS + +#include +#include +#include +#include "resource.h" + +#pragma warning (disable:4244) + +#include + +#else +/* +#define __X11_C_ +*/ + +#include +#include +#include +#include +#ifdef __NANOGL__ +#include +#else +#ifdef SOFT_LINKAGE +#pragma softfp_linkage +#endif +#ifdef MAEMO_CHANGES + #include + #include + #include + #include +#else + #include // for opengl es types + #include +#endif +#ifdef SOFT_LINKAGE +#pragma no_softfp_linkage +#endif +#endif +#include + +#define __inline inline + +#endif + +#define SHADETEXBIT(x) ((x>>24) & 0x1) +#define SEMITRANSBIT(x) ((x>>25) & 0x1) + +#ifndef _WINDOWS +#ifndef GL_BGRA_EXT +#define GL_BGRA_EXT GL_RGBA +#endif +#endif + +#ifdef __cplusplus +} +#endif + +#endif