1
0
spegling av https://github.com/minetest/irrlicht.git synced 2025-09-16 21:36:59 +02:00

Fix various GCC warnings

- fix overload hiding
- handle missing enumeration values in switch
- remove extraenous semicolons
- always have defaults in color converter switch
- fix root cause of stringop warning
This commit is contained in:
JosiahWI
2021-11-11 15:53:46 -06:00
committad av sfan5
förälder d4119ba664
incheckning 6d133e1bcc
6 ändrade filer med 18 tillägg och 15 borttagningar

Visa fil

@@ -148,6 +148,9 @@ namespace video
const core::rect<s32>& sourceRect, const core::rect<s32>* clipRect = 0,
const video::SColor* const colors = 0, bool useAlphaChannelOfTexture = false) _IRR_OVERRIDE_;
// Explicitly bring in base class methods, otherwise
// this overload would hide them.
using CNullDriver::draw2DImage;
virtual void draw2DImage(const video::ITexture* texture, u32 layer, bool flip);
//! draws a set of 2d images, using a color and the alpha channel of the