Decouple <cstdint>
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
#ifndef RAGE_DISPLAY_OGL_HELPERS_H
|
||||
#define RAGE_DISPLAY_OGL_HELPERS_H
|
||||
|
||||
/* Import RageDisplay, for types. Do not include RageDisplay_Legacy.h. */
|
||||
#include "RageDisplay.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#if defined(WIN32)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#include <GL/glew.h>
|
||||
|
||||
/* Import RageDisplay, for types. Do not include RageDisplay_Legacy.h. */
|
||||
#include "RageDisplay.h"
|
||||
|
||||
/* Windows defines GL_EXT_paletted_texture incompletely: */
|
||||
#ifndef GL_TEXTURE_INDEX_SIZE_EXT
|
||||
#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
|
||||
@@ -28,7 +30,7 @@ public:
|
||||
virtual ~RenderTarget() { }
|
||||
virtual void Create( const RenderTargetParam ¶m, int &iTextureWidthOut, int &iTextureHeightOut ) = 0;
|
||||
|
||||
virtual uintptr_t GetTexture() const = 0;
|
||||
virtual std::uintptr_t GetTexture() const = 0;
|
||||
|
||||
/* Render to this RenderTarget. */
|
||||
virtual void StartRenderingTo() = 0;
|
||||
|
||||
Reference in New Issue
Block a user