Skip to content

Commit

Permalink
Implementing more review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
colincornaby committed Nov 9, 2023
1 parent 75afee2 commit 0574698
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
3 changes: 1 addition & 2 deletions Sources/Plasma/Apps/plClient/Mac-Cocoa/PLSServerStatus.mm
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ - (void)loadServerStatus
NSString* urlString = [NSString stringWithSTString:GetServerStatusUrl()];
NSURL* url = [NSURL URLWithString:urlString];

if (!url || url.host == nil)
{
if (!url || !url.host) {
self.serverStatusString = @"";
return;
}
Expand Down
10 changes: 0 additions & 10 deletions Sources/Plasma/FeatureLib/pfMetalPipeline/plMetalPipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1176,16 +1176,6 @@ void plMetalPipeline::IRenderBufferSpan(const plIcicle& span, hsGDeviceRef* vb,

plProfile_EndTiming(RenderBuff);

#if 1
// Enable this for LayerAnimations, but the timing/speed seems wrong
for (size_t i = 0; i < material->GetNumLayers(); i++) {
plLayerInterface* lay = material->GetLayer(i);
if (lay) {
lay->Eval(fTime, fFrame, 0);
}
}
#endif

// Turn on this spans lights and turn off the rest.
ISelectLights(&span, mRef);

Expand Down

0 comments on commit 0574698

Please sign in to comment.