From d537bd679122d104e0f5b82985fa04ed7115d452 Mon Sep 17 00:00:00 2001 From: lanariel Date: Thu, 20 Feb 2014 09:23:09 +0100 Subject: [PATCH] Last release gfx fix --- Code/OysterGraphics/DllInterfaces/GFXAPI.cpp | 2 +- Code/OysterGraphics/DllInterfaces/GFXAPI.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Code/OysterGraphics/DllInterfaces/GFXAPI.cpp b/Code/OysterGraphics/DllInterfaces/GFXAPI.cpp index 36cbfd54..23827e1d 100644 --- a/Code/OysterGraphics/DllInterfaces/GFXAPI.cpp +++ b/Code/OysterGraphics/DllInterfaces/GFXAPI.cpp @@ -224,7 +224,7 @@ namespace Oyster #else API::State API::ReloadShaders() { - + return API::State::Sucsess; } void API::StartRenderWireFrame() diff --git a/Code/OysterGraphics/DllInterfaces/GFXAPI.h b/Code/OysterGraphics/DllInterfaces/GFXAPI.h index 71e12662..827f639f 100644 --- a/Code/OysterGraphics/DllInterfaces/GFXAPI.h +++ b/Code/OysterGraphics/DllInterfaces/GFXAPI.h @@ -38,7 +38,7 @@ namespace Oyster typedef void* Texture; static State Init(HWND Window, bool MSAA_Quality, bool Fullscreen, Option options); -#ifdef _DEBUG + static State ReloadShaders(); //should be called after rendered normal models, before GUI or Text rendering @@ -51,7 +51,6 @@ namespace Oyster static void RenderDebugSphere(Math::Matrix world); static void StartRenderFullModel(); -#endif //! @todo Memory Leaks