7780f259
by Rémi Bernon at 2025-12-09T10:52:49+01:00
opengl32: Retrieve display OpenGL functions table only when needed.
There's no real need to keep the function table pointer around, win32u
already has an initialization guard and then simply returns a pointer.
Initializing OpenGL on process attach often causes OOM errors with 32bit
process, as Wine still holds most of the low address space reserved
memory, and only releases it after modules have been loaded.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59093