mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Added antialiasing (MSAA) support to Canvases via a new optional parameter. Added Canvas:getFSAA.
This commit is contained in:
@@ -48,12 +48,12 @@ public:
|
||||
* Any setup the texture might need to do before drawing, e.g. binding
|
||||
* the OpenGL texture for use.
|
||||
**/
|
||||
virtual void predraw() const {}
|
||||
virtual void predraw() {}
|
||||
|
||||
/**
|
||||
* Any cleanup the texture might need to do directly after drawing.
|
||||
**/
|
||||
virtual void postdraw() const {}
|
||||
virtual void postdraw() {}
|
||||
|
||||
|
||||
}; // Texture
|
||||
|
||||
Reference in New Issue
Block a user