diff Engine/Graphics/GammaControl.cpp @ 2518:3a1b56ab8749

d3d11 accepts RGBTexture
author a.parshin
date Thu, 09 Oct 2014 00:06:47 +0300
parents 68cdef6879a0
children 407263babde8
line wrap: on
line diff
--- a/Engine/Graphics/GammaControl.cpp	Wed Oct 08 22:32:54 2014 +0600
+++ b/Engine/Graphics/GammaControl.cpp	Thu Oct 09 00:06:47 2014 +0300
@@ -17,8 +17,6 @@
 {
   if (pGammaControl)
     ErrD3D(pGammaControl->GetGammaRamp(0, &pDefaultRamp));
-  else
-    MessageBoxW(nullptr, L"Gamma control not active", L"E:\\WORK\\MSDEV\\MM7\\MM7\\Code\\GammaControl.cpp:83", 0);
 }
 
 //----- (0044F377) --------------------------------------------------------
@@ -53,8 +51,6 @@
 {
   if (pGammaControl)
     ErrD3D(pGammaControl->SetGammaRamp(0, pRamp));
-  else
-    MessageBoxW(nullptr, L"Gamma control not active", L"E:\\WORK\\MSDEV\\MM7\\MM7\\Code\\GammaControl.cpp:120", 0);
 }
 
 //----- (0044F45B) --------------------------------------------------------