Mark SetDecalMode as override in Implementation

Generated a warning. This fixes it.
pull/296/head
PerikiyoXD 3 years ago committed by GitHub
parent b7fdab1576
commit ca1d50bac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      olcPixelGameEngine.h

@ -195,7 +195,7 @@
Author
~~~~~~
David Barr, aka javidx9, ©OneLoneCoder 2018, 2019, 2020, 2021, 2022
David Barr, aka javidx9, ©OneLoneCoder 2018, 2019, 2020, 2021, 2022
*/
#pragma endregion
@ -3844,7 +3844,7 @@ namespace olc
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
}
void SetDecalMode(const olc::DecalMode& mode)
void SetDecalMode(const olc::DecalMode& mode) override
{
if (mode != nDecalMode)
{

Loading…
Cancel
Save