Remove unneeded OpenGL loading function code (#1006)
This commit is contained in:
parent
64c6654d94
commit
712919ec41
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue