mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-22 05:15:51 +12:00
[PICA] More textoor
This commit is contained in:
parent
ce72368f01
commit
51130b295a
6 changed files with 53 additions and 2 deletions
|
@ -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!");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue