implemented SDL3 as an option for window manager
This commit is contained in:
16
TSE_OpenGlImpl/src/RenderTextureCreatorOpenGL.hpp
Normal file
16
TSE_OpenGlImpl/src/RenderTextureCreatorOpenGL.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include "interfaces/IRenderTexture.hpp"
|
||||
#include "RenderTexture.hpp"
|
||||
|
||||
namespace TSE::OpenGL
|
||||
{
|
||||
class RenderTextureCreatorOpenGL : public IRenderTextureCreator
|
||||
{
|
||||
public:
|
||||
inline IRenderTexture* CreateTextureHeap(Vector2 v, uint textureCount = 1) override
|
||||
{
|
||||
return new RenderTexture(v, textureCount);
|
||||
};
|
||||
};
|
||||
} // namespace OpenGL
|
||||
Reference in New Issue
Block a user