474 |
/** Prepare for rendering by reloading all textures. |
/** Prepare for rendering by reloading all textures. |
475 |
*/ |
*/ |
476 |
void prepare() { |
void prepare() { |
|
/* |
|
477 |
for(unsigned i=0; i<textures.size(); i++) |
for(unsigned i=0; i<textures.size(); i++) |
478 |
textures[i]->tex->reload(); |
textures[i]->tex->reload(); |
|
*/ |
|
479 |
} |
} |
480 |
/** Allocate a new tile of the given width and height. |
/** Allocate a new tile of the given width and height. |
481 |
* @param border The minimum amount of null pixels around |
* @param border The minimum amount of null pixels around |