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
assorted warning fixes
[pcsx_rearmed.git]
/
plugins
/
gpu-gles
/
gpuDraw.c
diff --git
a/plugins/gpu-gles/gpuDraw.c
b/plugins/gpu-gles/gpuDraw.c
index
34d1c3b
..
c49eac5
100644
(file)
--- a/
plugins/gpu-gles/gpuDraw.c
+++ b/
plugins/gpu-gles/gpuDraw.c
@@
-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