Abstracted lua bindings for general Texture methods into wrap_Texture.cpp

This commit is contained in:
Alex Szpakowski
2014-01-04 21:19:03 -04:00
parent 6756bc3c2c
commit 510ed6f11e
13 changed files with 222 additions and 220 deletions
+1 -7
View File
@@ -24,6 +24,7 @@
// LOVE
#include "common/runtime.h"
#include "Image.h"
#include "wrap_Texture.h"
namespace love
{
@@ -33,15 +34,8 @@ namespace opengl
{
Image *luax_checkimage(lua_State *L, int idx);
int w_Image_getWidth(lua_State *L);
int w_Image_getHeight(lua_State *L);
int w_Image_getDimensions(lua_State *L);
int w_Image_setFilter(lua_State *L);
int w_Image_getFilter(lua_State *L);
int w_Image_setMipmapFilter(lua_State *L);
int w_Image_getMipmapFilter(lua_State *L);
int w_Image_setWrap(lua_State *L);
int w_Image_getWrap(lua_State *L);
int w_Image_isCompressed(lua_State *L);
int w_Image_refresh(lua_State *L);
int w_Image_getData(lua_State *L);