aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com>2021-02-17 20:53:07 +0000
committerGitHub <noreply@github.com>2021-02-17 20:53:07 +0000
commit712919ec415ddacf9a971299ef4c5657d15d29be (patch)
tree4ef54b8ffc136f7ecfc64687ac4ad57589087e49 /src
parent64c6654d949b86ff528d975ba700f8477c269557 (diff)
Remove unneeded OpenGL loading function code (#1006)
Diffstat (limited to 'src')
-rw-r--r--src/Platform.h1
-rw-r--r--src/frontend/qt_sdl/Platform.cpp6
-rw-r--r--src/frontend/qt_sdl/main.cpp10
-rw-r--r--src/frontend/qt_sdl/main.h2
4 files changed, 0 insertions, 19 deletions
diff --git a/src/Platform.h b/src/Platform.h
index 9542233..753fb9a 100644
--- a/src/Platform.h
+++ b/src/Platform.h
@@ -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
diff --git a/src/frontend/qt_sdl/Platform.cpp b/src/frontend/qt_sdl/Platform.cpp
index 6401305..fea4f0a 100644
--- a/src/frontend/qt_sdl/Platform.cpp
+++ b/src/frontend/qt_sdl/Platform.cpp
@@ -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()
{
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp
index 3cae0c5..a11d16d 100644
--- a/src/frontend/qt_sdl/main.cpp
+++ b/src/frontend/qt_sdl/main.cpp
@@ -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;
diff --git a/src/frontend/qt_sdl/main.h b/src/frontend/qt_sdl/main.h
index 3d4d8a6..ba4c644 100644
--- a/src/frontend/qt_sdl/main.h
+++ b/src/frontend/qt_sdl/main.h
@@ -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