mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 14:45:41 +12:00
Formatting
This commit is contained in:
parent
b2c6a5e801
commit
5e8f324ff5
2 changed files with 4 additions and 4 deletions
|
@ -46,7 +46,7 @@ public:
|
|||
|
||||
OptionalRef findFromAddress(u32 address) {
|
||||
for (auto& e : buffer) {
|
||||
if (e.location <= address && e.location+e.sizeInBytes() > address && e.valid)
|
||||
if (e.location <= address && e.location + e.sizeInBytes() > address && e.valid)
|
||||
return e;
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ struct ColourBuffer {
|
|||
void free() {
|
||||
valid = false;
|
||||
|
||||
if (texture.exists() || fbo.exists()){
|
||||
if (texture.exists() || fbo.exists()) {
|
||||
texture.free();
|
||||
fbo.free();
|
||||
}
|
||||
|
@ -130,10 +130,10 @@ struct DepthBuffer {
|
|||
}
|
||||
|
||||
void free() {
|
||||
if(texture.exists()){
|
||||
valid = false;
|
||||
if (texture.exists()) {
|
||||
texture.free();
|
||||
}
|
||||
valid = false;
|
||||
}
|
||||
|
||||
bool matches(DepthBuffer& other) {
|
||||
|
|
Loading…
Add table
Reference in a new issue