From 7a20524ae4725120b38b9967583ff1c1e08da286 Mon Sep 17 00:00:00 2001 From: Javidx9 <25419386+OneLoneCoder@users.noreply.github.com> Date: Sun, 28 Nov 2021 14:29:15 +0000 Subject: [PATCH] Update OneLoneCoder_PGE_ExtensionTestGFX2D.cpp Definition update fixed --- Videos/OneLoneCoder_PGE_ExtensionTestGFX2D.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Videos/OneLoneCoder_PGE_ExtensionTestGFX2D.cpp b/Videos/OneLoneCoder_PGE_ExtensionTestGFX2D.cpp index f31ee79..0c17910 100644 --- a/Videos/OneLoneCoder_PGE_ExtensionTestGFX2D.cpp +++ b/Videos/OneLoneCoder_PGE_ExtensionTestGFX2D.cpp @@ -46,15 +46,15 @@ Author ~~~~~~ - David Barr, aka javidx9, ©OneLoneCoder 2018 + David Barr, aka javidx9, ©OneLoneCoder 2018 */ // Include the olcPixelGameEngine #define OLC_PGE_APPLICATION #include "olcPixelGameEngine.h" -// To use an extension, just include it -#define OLC_PGE_GRAPHICS2D +// To use an extension, just include it (thanks MaxCE, for pointing out old definition format) +#define OLC_PGEX_GRAPHICS2D #include "olcPGEX_Graphics2D.h" class TestExtension : public olc::PixelGameEngine @@ -186,4 +186,4 @@ int main() demo.Start(); return 0; -} \ No newline at end of file +}