- silence some warning spam in textures.h

This commit is contained in:
Rachael Alexanderson 2022-01-26 18:30:55 -05:00
parent df976e218e
commit 95c5449a75

View file

@ -320,7 +320,7 @@ public:
void NeedUpdate() { bNeedsUpdate = true; }
void SetUpdated(bool rendertype) { bNeedsUpdate = false; bFirstUpdate = false; bLastUpdateType = rendertype; }
void SetAspectRatio(double aspectScale, bool useTextureRatio) { aspectRatio = aspectScale * (useTextureRatio? ((float)Width / Height) : 1); }
void SetAspectRatio(double aspectScale, bool useTextureRatio) { aspectRatio = (float)aspectScale * (useTextureRatio? ((float)Width / Height) : 1); }
protected: