mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
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:
parent
e72a879de0
commit
035e55f5ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue