Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- video::ITexture *eyehole_texture =
- gamedef->getTextureSource()->getTextureRaw("eyehole.png");
- if(eyehole_texture)
- {
- const video::SColor color(255,255,255,255);
- const video::SColor colors[] = {color,color,color,color};
- core::rect<s32> rect(0,0,500,500);
- driver->draw2DImage(eyehole_texture, rect,
- core::rect<s32>(core::position2d<s32>(0,0),
- core::dimension2di(eyehole_texture->getOriginalSize())),
- NULL, colors, true);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement