Remove unneeded OpenGL loading function code (#1006)

This commit is contained in:
WaluigiWare64 2021-02-17 20:53:07 +00:00 committed by GitHub
parent 64c6654d94
commit 712919ec41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 19 deletions

View File

@ -88,7 +88,6 @@ void Mutex_Lock(Mutex* mutex);
void Mutex_Unlock(Mutex* mutex);
bool Mutex_TryLock(Mutex* mutex);
void* GL_GetProcAddress(const char* proc);
// local multiplayer comm interface
// packet type: DS-style TX header (12 bytes) + original 802.11 frame

View File

@ -63,7 +63,6 @@
char* EmuDirectory;
void emuStop();
void* oglGetProcAddress(const char* proc);
namespace Platform
@ -259,11 +258,6 @@ bool Mutex_TryLock(Mutex* mutex)
return ((QMutex*) mutex)->try_lock();
}
void* GL_GetProcAddress(const char* proc)
{
return oglGetProcAddress(proc);
}
bool MP_Init()
{

View File

@ -328,16 +328,6 @@ void EmuThread::deinitOpenGL()
delete oglSurface;
}
void* oglGetProcAddress(const char* proc)
{
return emuThread->oglGetProcAddress(proc);
}
void* EmuThread::oglGetProcAddress(const char* proc)
{
return (void*)oglContext->getProcAddress(proc);
}
void EmuThread::run()
{
bool hasOGL = mainWindow->hasOGL;

View File

@ -48,8 +48,6 @@ public:
void initOpenGL();
void deinitOpenGL();
void* oglGetProcAddress(const char* proc);
void changeWindowTitle(char* title);
// to be called from the UI thread