Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static int SetTexture( T* p, lua_State *L )
- {
- RageTexture *pTexture = Luna<RageTexture>::check(L, 1);
- //RageTexture *pTexture = Luna<RageTextureRenderTarget>::check(L, 1);
- pTexture = TEXTUREMAN->CopyTexture( pTexture );
- p->SetTexture( pTexture );
- return 0;
- }
- static int SetTextureRT( T* p, lua_State *L )
- {
- //RageTexture *pTexture = Luna<RageTexture>::check(L, 1);
- RageTexture *pTexture = Luna<RageTextureRenderTarget>::check(L, 1);
- pTexture = TEXTUREMAN->CopyTexture( pTexture );
- p->SetTexture( pTexture );
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement