daily pastebin goal

It doesn't work D:

a guest Jul 19th, 2012 31 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. video::ITexture *eyehole_texture =
  2.         gamedef->getTextureSource()->getTextureRaw("eyehole.png");
  3. if(eyehole_texture)
  4. {
  5.         const video::SColor color(255,255,255,255);
  6.         const video::SColor colors[] = {color,color,color,color};
  7.         core::rect<s32> rect(0,0,500,500);
  8.         driver->draw2DImage(eyehole_texture, rect,
  9.                         core::rect<s32>(core::position2d<s32>(0,0),
  10.                         core::dimension2di(eyehole_texture->getOriginalSize())),
  11.                         NULL, colors, true);
  12.                         }
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