mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Make love::Type handle type names
TODO: Fix undefined behaviour in luax_register_type, you can't use a va_list after a reference type --HG-- branch : dynamiccore2
This commit is contained in:
@@ -88,7 +88,7 @@ static GLenum createMSAABuffer(int width, int height, int &samples, GLenum iform
|
||||
return status;
|
||||
}
|
||||
|
||||
love::Type Canvas::type(&Texture::type);
|
||||
love::Type Canvas::type("Canvas", &Texture::type);
|
||||
Canvas *Canvas::current = nullptr;
|
||||
OpenGL::Viewport Canvas::systemViewport = OpenGL::Viewport();
|
||||
bool Canvas::screenHasSRGB = false;
|
||||
|
||||
Reference in New Issue
Block a user