Create love.window, abstract SDL out of love.graphics

This commit is contained in:
Bart van Strien
2011-12-11 16:55:52 +01:00
parent 2b7da8ea27
commit 7c8fff979a
10 changed files with 543 additions and 194 deletions
@@ -58,7 +58,7 @@ namespace opengl
{
int w, h, fsaa;
bool fs, vsync;
instance->getMode(&w, &h, &fs, &vsync, &fsaa);
instance->getMode(w, h, fs, vsync, fsaa);
lua_pushnumber(L, w);
lua_pushnumber(L, h);
lua_pushboolean(L, fs);