Lines Matching refs:pRamp
962 const D3DGAMMARAMP *pRamp ) in NineDevice9_SetGammaRamp() argument
965 iSwapChain, Flags, pRamp); in NineDevice9_SetGammaRamp()
968 user_warn(!pRamp); in NineDevice9_SetGammaRamp()
970 if (pRamp && (iSwapChain < This->nswapchains)) { in NineDevice9_SetGammaRamp()
972 swap->gamma = *pRamp; in NineDevice9_SetGammaRamp()
973 ID3DPresent_SetGammaRamp(swap->present, pRamp, swap->params.hDeviceWindow); in NineDevice9_SetGammaRamp()
980 D3DGAMMARAMP *pRamp ) in NineDevice9_GetGammaRamp() argument
982 DBG("This=%p iSwapChain=%u pRamp=%p\n", This, iSwapChain, pRamp); in NineDevice9_GetGammaRamp()
985 user_warn(!pRamp); in NineDevice9_GetGammaRamp()
987 if (pRamp && (iSwapChain < This->nswapchains)) in NineDevice9_GetGammaRamp()
988 *pRamp = This->swapchains[iSwapChain]->gamma; in NineDevice9_GetGammaRamp()