Add love.graphics.isSupported

Replaces love.graphics.hasPixelEffects and also does framebuffer support.

Also fixed 4 compiler warnings.
This commit is contained in:
Bart van Strien
2011-07-24 15:21:52 +02:00
parent 7b6836466e
commit bd2b190a19
7 changed files with 79 additions and 8 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ namespace opengl
int w_newScreenshot(lua_State * L);
int w_setRenderTarget(lua_State * L);
int w_setPixelEffect(lua_State * L);
int w_hasPixelEffects(lua_State * L);
int w_isSupported(lua_State * L);
int w_getGLSLVersion(lua_State * L);
int w_draw(lua_State * L);
int w_drawq(lua_State * L);