wxwidgets/include
Manolo-ES e11ea1b737 Fix creating wxGLCanvas with NULL attributes list
Using NULL attributes list was not the same as using default
wxGLAttributes, but used a platform-dependent set of attributes that was
traditionally used by old wxWidgets versions for compatibility.

However these attributes didn't specify some important attributes,
notably depth buffer size, and relied on OpenGL driver using some
reasonable defaults, but this turns out to not be the case any more and
resulted in not enabling depth buffer at all, see #22787.

Fix this by using the same default attributes as were already used by
wxGLAttributes::Defaults() in this case, as this is much more useful,
even if not 100%-compatible with the old behaviour.

See #22828.
2022-09-28 23:59:31 +02:00
..
msvc/wx Don't use token-pasting with non-identifiers in msvc/wx/setup.h 2022-08-01 17:02:55 +01:00
wx Fix creating wxGLCanvas with NULL attributes list 2022-09-28 23:59:31 +02:00