diff options
author | Ian Romanick <[email protected]> | 2012-05-29 12:23:36 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-06-13 13:17:54 -0700 |
commit | e62c4c765c6ff81807b460ad3a7009618ae6cb77 (patch) | |
tree | dcc3a1ffef04df89e4c6d29ec7dd18ff4253a39c /src/mapi/glapi/tests/check_table.cpp | |
parent | 933714aabe5464f6168909738f9ffe712e457f26 (diff) |
glapi: Remove GL_SGIX_pixel_texture from the dispatch table
There is no GLX protocol for this function. Open-source Linux driver
have not supported this extension for many years, and it seems
unlikely at this point that this support will return. There's no
reason to have slots for this function in the dispatch table.
The unit tests (GetProcAddress::TableDidntShrink and others) are also updated.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mapi/glapi/tests/check_table.cpp')
-rw-r--r-- | src/mapi/glapi/tests/check_table.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mapi/glapi/tests/check_table.cpp b/src/mapi/glapi/tests/check_table.cpp index b2da94e5236..f1e73ed4a2b 100644 --- a/src/mapi/glapi/tests/check_table.cpp +++ b/src/mapi/glapi/tests/check_table.cpp @@ -84,8 +84,11 @@ TEST(GetProcAddress, TableDidntShrink) * * 6 entries were removed when GL_SGIS_pixel_texture was removed from the * dispatch table. + * + * 1 entry was removed when GL_SGIX_pixel_texture was removed from the + * dispatch table. */ - EXPECT_GE(table_entries, 978u - 6u); + EXPECT_GE(table_entries, 978u - 6u - 1u); } TEST(GetProcAddress, QueriedDispatchSizeBigEnough) @@ -1281,7 +1284,6 @@ const struct name_offset known_dispatch[] = { { "glFogCoorddvEXT", _O(FogCoorddvEXT) }, { "glFogCoordfEXT", _O(FogCoordfEXT) }, { "glFogCoordfvEXT", _O(FogCoordfvEXT) }, - { "glPixelTexGenSGIX", _O(PixelTexGenSGIX) }, { "glBlendFuncSeparateEXT", _O(BlendFuncSeparateEXT) }, { "glFlushVertexArrayRangeNV", _O(FlushVertexArrayRangeNV) }, { "glVertexArrayRangeNV", _O(VertexArrayRangeNV) }, |