// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #if PLATFORM_WINDOWS #include "Windows/AllowWindowsPlatformTypes.h" // D3D headers. // Disable macro redefinition warning for compatibility with Windows SDK 8+ #pragma warning(push) #pragma warning(disable : 4005) // macro redefinition #include #include #include #pragma warning(pop) #include "Windows/HideWindowsPlatformTypes.h" #endif // PLATFORM_WINDOWS #if PLATFORM_WINDOWS #include "Windows/AllowWindowsPlatformTypes.h" #include #include #include #include "Windows/HideWindowsPlatformTypes.h" #elif PLATFORM_MAC #include #include #elif PLATFORM_IOS #include #include // renamed keywords #define glMapBuffer glMapBufferOES #define glUnmapBuffer glUnmapBufferOES #define GL_WRITE_ONLY GL_WRITE_ONLY_OES #define GL_CLAMP GL_CLAMP_TO_EDGE #define GL_RGBA8 GL_RGBA #define GL_UNSIGNED_INT_8_8_8_8_REV GL_UNSIGNED_BYTE // unused functions #define glTexEnvf(...) #define glTexEnvi(...) #define glAlphaFunc(...) #elif PLATFORM_LINUX //#define GLCOREARB_PROTOTYPES #include //#include #include #endif // PLATFORM_LINUX