fixed some small bugs and updated version to 0.1.3
This commit is contained in:
17
TSE_GlfwOpenGlImpl/src/CameraHelperOpenGL.hpp
Normal file
17
TSE_GlfwOpenGlImpl/src/CameraHelperOpenGL.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "BehaviourScripts/Camera.hpp"
|
||||
#include "GL/gl3w.h"
|
||||
#include "GL/gl.h"
|
||||
|
||||
namespace TSE::GLFW
|
||||
{
|
||||
class CameraHelperOpenGL : public ICameraHelper
|
||||
{
|
||||
public:
|
||||
inline void OnRenderTargetChanged(float width, float height) override
|
||||
{
|
||||
glViewport(0, 0, width, height);
|
||||
};
|
||||
};
|
||||
} // namespace TSE::GLFW
|
||||
Reference in New Issue
Block a user