1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00

add missing include

This commit is contained in:
Ted John
2016-06-12 17:44:58 +01:00
parent f6665a188a
commit fa4662be42
2 changed files with 3 additions and 2 deletions

View File

@@ -108,6 +108,8 @@ static const char * TryLoadAllProcAddresses()
return nullptr;
}
#endif /* #if OPENGL_NO_LINK */
namespace OpenGLState
{
uint16 ActiveTexture = UINT16_MAX;
@@ -123,8 +125,6 @@ void OpenGLAPI::SetTexture2D(uint16 index, GLuint texture)
glBindTexture(GL_TEXTURE_2D, texture);
}
#endif /* #if OPENGL_NO_LINK */
bool OpenGLAPI::Initialise()
{
#ifdef OPENGL_NO_LINK

View File

@@ -16,6 +16,7 @@
#ifndef DISABLE_OPENGL
#include <vector>
#include "../../../core/Memory.hpp"
#include "TextureCache.h"