daily pastebin goal
46%
SHARE
TWEET

Untitled

a guest May 24th, 2018 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         static void updateUniformIV (const string &uniform, usize count, const s32 *val)
  2.         {
  3.             sUniformCallbacks[uniform] = [count, val] (Program *prog, const string &uniform)
  4.                 {
  5.                     Uniform uni = prog->getUniform(uniform);
  6.                     uni.setIV(count, val);
  7.                 };
  8.  
  9.             for each (auto i in sPrograms)
  10.             {
  11.                 const Program *prog = i.second;
  12.                 Uniform uni = prog->getUniform(uniform);
  13.                 uni.setIV(count, val);
  14.             }
  15.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top