mapi: Now _glapi_get_dispatch_table_size always equal to sizeof(struct _glapi_table) / sizeof(void *)
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Corentin Noël <corentin.noel@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23822>
This commit is contained in:
@@ -108,7 +108,7 @@ TEST(GetProcAddress, QueriedDispatchSizeBigEnough)
|
||||
* table. This is the size of the static table with some extra entries for
|
||||
* drivers to use for extensions that the core does not know about.
|
||||
*/
|
||||
EXPECT_LT(table_entries, _glapi_get_dispatch_table_size());
|
||||
EXPECT_EQ(table_entries, _glapi_get_dispatch_table_size());
|
||||
}
|
||||
|
||||
TEST(GetProcAddress, KnownDispatchOffsetsAreConsistent)
|
||||
|
||||
Reference in New Issue
Block a user