Module: wine Branch: master Commit: 9943ab6e208112d1b98a412fc759a1a9a60807ac URL: https://gitlab.winehq.org/wine/wine/-/commit/9943ab6e208112d1b98a412fc759a1a...
Author: Alexandros Frantzis alexandros.frantzis@collabora.com Date: Fri Apr 19 12:55:02 2024 +0300
opengl32: Implement wglDescribePixelFormat using new driver API get_pixel_formats.
Introduce a new wgl driver callback function to allow the driver to provide a complete list of all pixel formats and their attributes. If the driver provides the information use it to implement wglDescribePixelFormat.
---
dlls/opengl32/make_opengl | 24 ++++++++++++++++++++++- dlls/opengl32/thunks.c | 9 --------- dlls/opengl32/unix_thunks.c | 4 ++++ dlls/opengl32/unix_wgl.c | 35 +++++++++++++++++++++++++++++++++ dlls/opengl32/unixlib.h | 11 +++++++++++ dlls/opengl32/wgl.c | 47 +++++++++++++++++++++++++++++++++++++++++++++ include/wine/wgl_driver.h | 8 +++++++- 7 files changed, 127 insertions(+), 11 deletions(-)