X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fgpu-gles%2FgpuExternals.h;h=0a8acf594af44edfb9a4c7646e3815fc8a11dfef;hb=70c1043e63dafcf92b0f4dc0932326a6d042fbb4;hp=8d30814a79a147466d260f8416fd992d841c48dd;hpb=677ea10304049d6f7aae48317fe32cfea060d209;p=pcsx_rearmed.git diff --git a/plugins/gpu-gles/gpuExternals.h b/plugins/gpu-gles/gpuExternals.h index 8d30814a..0a8acf59 100644 --- a/plugins/gpu-gles/gpuExternals.h +++ b/plugins/gpu-gles/gpuExternals.h @@ -33,19 +33,16 @@ extern "C" { #endif -#ifndef _WINDOWS #ifdef __NANOGL__ #include #include #else -#ifdef SOFT_LINKAGE -#pragma softfp_linkage -#endif -#include // for opengl es types -#ifdef SOFT_LINKAGE -#pragma no_softfp_linkage -#endif +#include +#include #endif + +#ifndef GL_BGRA_EXT +#define GL_BGRA_EXT GL_RGBA // ?? #endif #ifdef __NANOGL__ @@ -291,7 +288,7 @@ extern unsigned char gl_vy[8]; extern OGLVertex vertex[4]; extern short sprtY,sprtX,sprtH,sprtW; #ifdef _WINDOWS -extern HWND hWWindow; +//extern HWND hWWindow; #endif extern BOOL bIsFirstFrame; extern int iWinSize; @@ -371,6 +368,10 @@ extern short sxmax; extern short symin; extern short symax; +extern unsigned int CSVERTEX; +extern unsigned int CSCOLOR; +extern unsigned int CSTEXTURE; + #endif //-----------------------------------------------------//