在 2026-7-12 23:50, Maarten De Braekeleer 写道:
The first argument of IDirectDrawGammaControl::SetGammaRamp can be 0 or DDSGR_CALIBRATE (defined as 0x00000001L in Microsoft headers).I'm using mingw32-headers 13.0, provided by Fedora 44. msdn link: https://learn.microsoft.com/en-us/windows/win32/api/ddraw/nf-ddraw-idirectdrawgammacontrol-setgammaramp From 6a252992bca46837a0465272b41d83fc19b6aa39 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten <[email protected]> Date: Tue, 26 May 2026 06:31:13 +0200 Subject: [PATCH] Add DDSGR_CALIBRATE macro to ddraw.h DDSGR_CALIBRATE requests that the calibrator adjust the gamma ramp according to the physical properties of the display, which makes the result identical on all computers. --- mingw-w64-headers/include/ddraw.h | 3 +++ 1 file changed, 3 insertions(+)
Thanks for the patch. Pushed to master now. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
