[PICA] More textoor
This commit is contained in:
@@ -41,7 +41,7 @@ public:
|
||||
}
|
||||
|
||||
// Adds a surface object to the cache and returns it
|
||||
SurfaceType add(SurfaceType& surface) {
|
||||
SurfaceType add(const SurfaceType& surface) {
|
||||
if (size >= capacity) {
|
||||
Helpers::panic("Surface cache full! Add emptying!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user