summaryrefslogtreecommitdiff
path: root/src/hgl
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-08-25 16:58:59 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-10-06 15:03:46 +0100
commit96b9ec1ea3d7ab2e00ce3bea61520f6fa9dae5c0 (patch)
treeb675fb96cfeb011d2e5952622699250b34be9cd0 /src/hgl
parent79835565c3a3680262ae5387ef3ec7c2514722f6 (diff)
glapi/hgl: remove the final user of _glapi_check_table()
The symbol is a no-op since, the EXTRA_DEBUG macro is not set in the build. Unused by !Haiku people/platforms since 2010 (commit a73c6540d9a7f6e26d8568ba2fc522cb865f0a6c) while the Haiku C++ wrapper has no obvious users. Cc: Alexander von Gluck IV <kallisti5@unixzen.com> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Diffstat (limited to 'src/hgl')
-rw-r--r--src/hgl/GLDispatcher.cpp8
-rw-r--r--src/hgl/GLDispatcher.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/src/hgl/GLDispatcher.cpp b/src/hgl/GLDispatcher.cpp
index a1e9053617c..f9709e444f9 100644
--- a/src/hgl/GLDispatcher.cpp
+++ b/src/hgl/GLDispatcher.cpp
@@ -58,14 +58,6 @@ BGLDispatcher::~BGLDispatcher()
status_t
-BGLDispatcher::CheckTable(const struct _glapi_table* table)
-{
- _glapi_check_table(table ? table : _glapi_get_dispatch());
- return B_OK;
-}
-
-
-status_t
BGLDispatcher::SetTable(struct _glapi_table* table)
{
_glapi_set_dispatch(table);
diff --git a/src/hgl/GLDispatcher.h b/src/hgl/GLDispatcher.h
index 7ee095d917b..8aaf58a6237 100644
--- a/src/hgl/GLDispatcher.h
+++ b/src/hgl/GLDispatcher.h
@@ -34,8 +34,6 @@ class BGLDispatcher
void* CurrentContext();
struct _glapi_table* Table();
- status_t CheckTable(
- const struct _glapi_table* dispatch = NULL);
status_t SetTable(struct _glapi_table* dispatch);
uint32 TableSize();