opengl32: Skip filter_extensions_index() on GL contexts < 3.0.
commit6153ced0f9d86f1a55020f352b43bdf0b32e7286
authorMatteo Bruni <mbruni@codeweavers.com>
Thu, 9 Nov 2023 20:30:04 +0000 (9 21:30 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 13 Nov 2023 10:03:04 +0000 (13 11:03 +0100)
tree2b0746f785b9b244a673f25464eab9a3107e54a7
parent88e66d0785dbc80bb49834676ef00a71963d0e4f
opengl32: Skip filter_extensions_index() on GL contexts < 3.0.

glGetStringi() is not available before 3.0. We can't trust its
function pointer being NULL since the GL implementation is allowed to
return anything in this case (*cough* macOS's GL on Metal *cough*).

This probably regressed when fd92954df8cf12c61e08c7ef7acf172efb7c44ad
removed the "if (!disabled[0]) return FALSE;" exit from
filter_extensions(), although that simply exposed an existing issue.
dlls/opengl32/unix_wgl.c