dmuratshin před 9 roky
rodič
revize
12901d4f41
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      oxygine/src/PostProcess.cpp

+ 2 - 2
oxygine/src/PostProcess.cpp

@@ -157,7 +157,7 @@ namespace oxygine
         h = alignTextureSize(h);
         h = alignTextureSize(h);
         if (isGood(current, w, h, tf))
         if (isGood(current, w, h, tf))
         {
         {
-            current->setUserData((void*)getTimeMS());
+            current->setUserData((void*)(size_t)getTimeMS());
             return current;
             return current;
         }
         }
 
 
@@ -182,7 +182,7 @@ namespace oxygine
             result->init(w, h, tf, true);
             result->init(w, h, tf, true);
         }
         }
 
 
-        result->setUserData((void*)getTimeMS());
+        result->setUserData((void*)(size_t)getTimeMS());
         _rts.push_back(result);
         _rts.push_back(result);
 
 
         //print();
         //print();