[Git][wine/wine][master] opengl32: Retrieve display OpenGL functions table only when needed.

"Alexandre Julliard (@julliard) via Wine-commits" <[email protected]>
Newsgroups gmane.comp.emulators.wine.cvs
Message-ID <[email protected]>

Alexandre Julliard pushed to branch master at wine / wine


Commits:
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

- - - - -


3 changed files:

- dlls/opengl32/unix_private.h
- dlls/opengl32/unix_wgl.c
- dlls/win32u/opengl.c


View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/7780f259d11d3a2f2906e66d423850fe640376f8

-- 
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/7780f259d11d3a2f2906e66d423850fe640376f8
You're receiving this email because of your account on gitlab.winehq.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.