| 741 | //============================================================================// |
| 742 | |
| 743 | const LuaTexture* LuaTextureMgr::TestLuaTexture(lua_State* L, int index) { |
| 744 | if (lua_getuserdataextra(L, index) != metaName) { |
| 745 | return NULL; |
| 746 | } |
| 747 | return (LuaTexture*)lua_touserdata(L, index); |
| 748 | } |
| 749 | |
| 750 | |
| 751 | const LuaTexture* LuaTextureMgr::CheckLuaTexture(lua_State* L, int index) { |
nothing calls this directly
no test coverage detected