mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 03:14:00 +02:00
- improved performance and bug fixes.
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include <string>
|
||||
#include "vec.h"
|
||||
#include "types.h"
|
||||
#include <map>
|
||||
#include "leak_dumper.h"
|
||||
|
||||
using std::string;
|
||||
@@ -160,7 +161,6 @@ protected:
|
||||
int components;
|
||||
uint8 *pixels;
|
||||
string path;
|
||||
|
||||
public:
|
||||
//constructor & destructor
|
||||
Pixmap2D();
|
||||
|
@@ -124,8 +124,8 @@ protected:
|
||||
public:
|
||||
void load(const string &path);
|
||||
|
||||
Pixmap2D *getPixmap() {return &pixmap;}
|
||||
const Pixmap2D *getPixmap() const {return &pixmap;}
|
||||
Pixmap2D *getPixmap() {return &pixmap;}
|
||||
const Pixmap2D *getPixmapConst() const {return &pixmap;}
|
||||
virtual string getPath() const;
|
||||
virtual void deletePixels();
|
||||
virtual uint64 getPixelByteCount() const {return pixmap.getPixelByteCount();}
|
||||
|
Reference in New Issue
Block a user