mirror of https://github.com/OpenRCT2/OpenRCT2.git
add missing DISABLE_OPENGL guards
This commit is contained in:
parent
3c96171801
commit
f6665a188a
|
@ -14,6 +14,8 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
#pragma endregion
|
#pragma endregion
|
||||||
|
|
||||||
|
#ifndef DISABLE_OPENGL
|
||||||
|
|
||||||
#include <SDL_video.h>
|
#include <SDL_video.h>
|
||||||
#include "../../../core/Memory.hpp"
|
#include "../../../core/Memory.hpp"
|
||||||
#include "OpenGLFramebuffer.h"
|
#include "OpenGLFramebuffer.h"
|
||||||
|
@ -78,3 +80,5 @@ void * OpenGLFramebuffer::GetPixels() const
|
||||||
|
|
||||||
return flippedPixels;
|
return flippedPixels;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* DISABLE_OPENGL */
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
#pragma endregion
|
#pragma endregion
|
||||||
|
|
||||||
|
#ifndef DISABLE_OPENGL
|
||||||
|
|
||||||
#include "../../../core/Memory.hpp"
|
#include "../../../core/Memory.hpp"
|
||||||
#include "TextureCache.h"
|
#include "TextureCache.h"
|
||||||
|
|
||||||
|
@ -221,3 +223,5 @@ void TextureCache::DeleteDPI(rct_drawpixelinfo* dpi)
|
||||||
Memory::Free(dpi->bits);
|
Memory::Free(dpi->bits);
|
||||||
delete dpi;
|
delete dpi;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* DISABLE_OPENGL */
|
||||||
|
|
Loading…
Reference in New Issue