.SetGammaRamp - Failing (VB6 DX8)
''
'' Get current ramp
''
D3DDevice.getgammaramp originalRamp
''
'' Set current ramp
''
D3DDevice.SetGammaRamp D3DSGR_NO_CALIBRATION, originalRamp
Screen goes black when using SetGammaRamp to the original ramp even though the original ramp vales are being loaded in correctly. (I examined the originalRamp arrays and data is there.)
Any help would be appreciated, thanks.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement