mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Replace deprecated PHYSFS_addToSearchPath calls with PHYSFS_mount.
--HG-- branch : minor
This commit is contained in:
@@ -33,7 +33,7 @@ Quad::Quad(const Quad::Viewport &v, float sw, float sh)
|
||||
: sw(sw)
|
||||
, sh(sh)
|
||||
{
|
||||
memset(vertices, 255, sizeof(Vertex) * NUM_VERTICES);
|
||||
memset(vertices, 255, sizeof(Vertex) * 4);
|
||||
refresh(v, sw, sh);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,8 +40,6 @@ public:
|
||||
float w, h;
|
||||
};
|
||||
|
||||
static const size_t NUM_VERTICES = 4;
|
||||
|
||||
Quad(const Viewport &v, float sw, float sh);
|
||||
virtual ~Quad();
|
||||
|
||||
@@ -53,7 +51,7 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
Vertex vertices[NUM_VERTICES];
|
||||
Vertex vertices[4];
|
||||
|
||||
Viewport viewport;
|
||||
float sw;
|
||||
|
||||
Reference in New Issue
Block a user