mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Modules now reside in Lua and are treated (almost) like normal objects.
Also added a way of getting a pointer to abstract module instances internally.
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
// LOVE
|
||||
#include <graphics/Graphics.h>
|
||||
|
||||
#include <image/Image.h>
|
||||
#include <image/ImageData.h>
|
||||
|
||||
#include "Image.h"
|
||||
@@ -518,7 +519,7 @@ namespace opengl
|
||||
* Creates a screenshot of the view and saves it to the default folder.
|
||||
* @param file The file to write the screenshot to.
|
||||
**/
|
||||
love::image::ImageData * newScreenshot(lua_State * L);
|
||||
love::image::ImageData * newScreenshot(love::image::Image * image);
|
||||
|
||||
void push();
|
||||
void pop();
|
||||
|
||||
Reference in New Issue
Block a user