Christian, 

Out of curiosity, what Windows API are you using to control the gamma ramp in 
in the GammaMBS plugin? I’ve noticed a bug, and it doesn’t look like I am going 
to be able to work around it using the current version of the plugin. Here is 
what I am seeing:

1. On a real Windows system, run the “Invert Video” example project (it doesn’t 
matter if this is in the Xojo IDE or from a compiled version of the app)
2. When the main window appears, click on the “invert” checkbox and the gamma 
ramp will be correctly modified on and off. 
3. If the application is transitioned from being the frontmost window and then 
back again, the whole screen will flash black and the gamma ramp adjustment 
will no longer function (gives an error) until the application is quit and 
re-launched. 

(Of course) it works perfectly in the macOS version, but the following Dev 
Center document seems to indicate that this capability only works correctly on 
“full screen” apps.

https://docs.microsoft.com/en-us/windows/win32/direct3ddxgi/using-gamma-correction#background-of-gamma-on-windows
 
<https://docs.microsoft.com/en-us/windows/win32/direct3ddxgi/using-gamma-correction#background-of-gamma-on-windows>

Do you have any workarounds or insight?

Cheers.

-bill k
_______________________________________________
mbsplugins@monkeybreadsoftware.info mailing list
%(list_address)s
https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to