notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spu: try to improve timing
[pcsx_rearmed.git]
/
plugins
/
gpu-gles
/
gpuDraw.c
diff --git
a/plugins/gpu-gles/gpuDraw.c
b/plugins/gpu-gles/gpuDraw.c
index
34d1c3b
..
d6670ee
100644
(file)
--- a/
plugins/gpu-gles/gpuDraw.c
+++ b/
plugins/gpu-gles/gpuDraw.c
@@
-111,7
+111,7
@@
BOOL bCheckMask=FALSE;
int iUseMask=0;
\r
int iSetMask=0;
\r
unsigned short sSetMask=0;
\r
int iUseMask=0;
\r
int iSetMask=0;
\r
unsigned short sSetMask=0;
\r
-unsigned
long
lSetMask=0;
\r
+unsigned
int
lSetMask=0;
\r
\r
// drawing/coord vars
\r
\r
\r
// drawing/coord vars
\r
\r
@@
-291,7
+291,7
@@
bool TestEGLError(const char* pszLocation)
EGLint iErr = eglGetError();
\r
if (iErr != EGL_SUCCESS)
\r
{
\r
EGLint iErr = eglGetError();
\r
if (iErr != EGL_SUCCESS)
\r
{
\r
- printf("%s failed (0x%x).\n", pszLocation, iErr);
\r
+ printf("%s failed (0x%x).\n", pszLocation,
(int)
iErr);
\r
return FALSE;
\r
}
\r
\r
return FALSE;
\r
}
\r
\r
@@
-572,7
+572,7
@@
void GLcleanup()
// real psx polygon coord mapping right... the following
\r
// works not to bad with many games, though
\r
\r
// real psx polygon coord mapping right... the following
\r
// works not to bad with many games, though
\r
\r
-__inline BOOL CheckCoord4()
\r
+
static
__inline BOOL CheckCoord4()
\r
{
\r
if(lx0<0)
\r
{
\r
{
\r
if(lx0<0)
\r
{
\r
@@
-638,7
+638,7
@@
__inline BOOL CheckCoord4()
return FALSE;
\r
}
\r
\r
return FALSE;
\r
}
\r
\r
-__inline BOOL CheckCoord3()
\r
+
static
__inline BOOL CheckCoord3()
\r
{
\r
if(lx0<0)
\r
{
\r
{
\r
if(lx0<0)
\r
{
\r
@@
-675,7
+675,7
@@
__inline BOOL CheckCoord3()
}
\r
\r
\r
}
\r
\r
\r
-__inline BOOL CheckCoord2()
\r
+
static
__inline BOOL CheckCoord2()
\r
{
\r
if(lx0<0)
\r
{
\r
{
\r
if(lx0<0)
\r
{
\r
@@
-921,14
+921,14
@@
void offsetST(void)
\r
/////////////////////////////////////////////////////////
\r
\r
\r
/////////////////////////////////////////////////////////
\r
\r
-void offsetScreenUpload(
long
Position)
\r
+void offsetScreenUpload(
int
Position)
\r
{
\r
if(bDisplayNotSet)
\r
SetOGLDisplaySettings(1);
\r
\r
if(Position==-1)
\r
{
\r
{
\r
if(bDisplayNotSet)
\r
SetOGLDisplaySettings(1);
\r
\r
if(Position==-1)
\r
{
\r
-
long
lmdx,lmdy;
\r
+
int
lmdx,lmdy;
\r
\r
lmdx=xrUploadArea.x0;
\r
lmdy=xrUploadArea.y0;
\r
\r
lmdx=xrUploadArea.x0;
\r
lmdy=xrUploadArea.y0;
\r