mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-19 06:47:59 -05:00
Remove every trailing whitespace from the project (but externals).
This commit is contained in:
@ -62,9 +62,9 @@ static int TestPointer(const PROC pTest)
|
||||
ptrdiff_t iTest;
|
||||
if(!pTest) return 0;
|
||||
iTest = (ptrdiff_t)pTest;
|
||||
|
||||
|
||||
if(iTest == 1 || iTest == 2 || iTest == 3 || iTest == -1) return 0;
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -79,7 +79,7 @@ static PROC WinGetProcAddress(const char *name)
|
||||
glMod = GetModuleHandleA("OpenGL32.dll");
|
||||
return (PROC)GetProcAddress(glMod, (LPCSTR)name);
|
||||
}
|
||||
|
||||
|
||||
#define IntGetProcAddress(name) WinGetProcAddress(name)
|
||||
#else
|
||||
#if defined(__APPLE__)
|
||||
@ -1083,7 +1083,7 @@ static ogl_StrToExtMap *FindExtEntry(const char *extensionName)
|
||||
if(strcmp(extensionName, currLoc->extensionName) == 0)
|
||||
return currLoc;
|
||||
}
|
||||
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -1135,15 +1135,15 @@ int ogl_LoadFunctions()
|
||||
{
|
||||
int numFailed = 0;
|
||||
ClearExtensionVars();
|
||||
|
||||
|
||||
_ptrc_glGetIntegerv = (void (CODEGEN_FUNCPTR *)(GLenum, GLint *))IntGetProcAddress("glGetIntegerv");
|
||||
if(!_ptrc_glGetIntegerv) return ogl_LOAD_FAILED;
|
||||
_ptrc_glGetStringi = (const GLubyte * (CODEGEN_FUNCPTR *)(GLenum, GLuint))IntGetProcAddress("glGetStringi");
|
||||
if(!_ptrc_glGetStringi) return ogl_LOAD_FAILED;
|
||||
|
||||
|
||||
ProcExtsFromExtList();
|
||||
numFailed = Load_Version_3_2();
|
||||
|
||||
|
||||
if(numFailed == 0)
|
||||
return ogl_LOAD_SUCCEEDED;
|
||||
else
|
||||
@ -1177,7 +1177,7 @@ int ogl_IsVersionGEQ(int majorVersion, int minorVersion)
|
||||
{
|
||||
if(g_major_version == 0)
|
||||
GetGLVersion();
|
||||
|
||||
|
||||
if(majorVersion > g_major_version) return 1;
|
||||
if(majorVersion < g_major_version) return 0;
|
||||
if(minorVersion >= g_minor_version) return 1;
|
||||
|
Reference in New Issue
Block a user