glapi/hgl: remove the final user of _glapi_check_table()
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 25 Aug 2016 15:58:59 +0000 (16:58 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 6 Oct 2016 14:03:46 +0000 (15:03 +0100)
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>
src/hgl/GLDispatcher.cpp
src/hgl/GLDispatcher.h

index a1e9053617c916d346adbc5808c95218e6172615..f9709e444f96149f966edad32ef7bf20d2939b58 100644 (file)
@@ -57,14 +57,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)
 {
index 7ee095d917b75dcdc0f0a76c19813c8dd6330e3d..8aaf58a62374703957928ebbd0d3142ce419c8f3 100644 (file)
@@ -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();