From 392c4e7c42c000d82e641a3d04f0d2a01f0aca21 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 18 Oct 2018 08:03:04 +0800 Subject: =?UTF-8?q?*=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/Window.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/libjin/Graphics/Window.h') diff --git a/src/libjin/Graphics/Window.h b/src/libjin/Graphics/Window.h index 5871562..8d6c4f5 100644 --- a/src/libjin/Graphics/Window.h +++ b/src/libjin/Graphics/Window.h @@ -1,6 +1,6 @@ #ifndef __LIBJIN_RENDER_WINDOW #define __LIBJIN_RENDER_WINDOW -#include "../jin_configuration.h" +#include "../configuration.h" #if LIBJIN_MODULES_RENDER #include "SDL2/SDL.h" @@ -34,7 +34,8 @@ namespace jin void swapBuffers(); private: - SINGLETON(Window); + // declare a singleton + singleton(Window); Window() {}; -- cgit v1.1-26-g67d0