From 23094bb9472c2149bf4d693a807e06a579c1ec20 Mon Sep 17 00:00:00 2001 From: dom607 Date: Wed, 27 Feb 2019 17:15:49 +0900 Subject: Enable gals init and finalize on android platform. Remove unused header. --- Graphics/GLSLTools/src/SPIRVUtils.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'Graphics/GLSLTools') diff --git a/Graphics/GLSLTools/src/SPIRVUtils.cpp b/Graphics/GLSLTools/src/SPIRVUtils.cpp index 9f9a7d88..799270db 100644 --- a/Graphics/GLSLTools/src/SPIRVUtils.cpp +++ b/Graphics/GLSLTools/src/SPIRVUtils.cpp @@ -26,16 +26,7 @@ #include #include -#if PLATFORM_ANDROID - // Android specific include files. -# include - - // Header files. -# include -# include "shaderc/shaderc.hpp" - // Static variable that keeps ANativeWindow and asset manager instances. - //static android_app *Android_application = nullptr; -#elif (defined(VK_USE_PLATFORM_IOS_MVK) || defined(VK_USE_PLATFORM_MACOS_MVK)) +#if (defined(VK_USE_PLATFORM_IOS_MVK) || defined(VK_USE_PLATFORM_MACOS_MVK)) # include #else # include "SPIRV/GlslangToSpv.h" @@ -56,16 +47,12 @@ namespace Diligent void InitializeGlslang() { -#if !PLATFORM_ANDROID glslang::InitializeProcess(); -#endif } void FinalizeGlslang() { -#if !PLATFORM_ANDROID glslang::FinalizeProcess(); -#endif } EShLanguage ShaderTypeToShLanguage(SHADER_TYPE ShaderType) -- cgit v1.2.3