File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ void WindowMan::Clear() {
37
37
38
38
m_PrimaryWindow.reset ();
39
39
m_BackBuffer32Texture = 0 ;
40
- m_PrimaryWindowProjection = glm::mat4 (1 );
41
40
m_ScreenVAO = 0 ;
42
41
m_ScreenVBO = 0 ;
43
42
ClearMultiDisplayData ();
Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
3
#include " Singleton.h"
4
- #include " System/Shader.h "
4
+ #include " glm/fwd.hpp "
5
5
#include " glad/gl.h"
6
6
7
7
#include < memory>
@@ -191,7 +191,6 @@ namespace RTE {
191
191
GLuint m_BackBuffer32Texture; // !< Streaming texture for the software rendered stuff.
192
192
GLuint m_ScreenBufferTexture; // !< Internal backbuffer for the final blit and sceenshots, only clear immediately before drawing.
193
193
GLuint m_ScreenBufferFBO; // !< Framebuffer object for the screen buffer texture.
194
- glm::mat4 m_PrimaryWindowProjection; // !< Projection Matrix for the main window.
195
194
std::unique_ptr<SDL_Rect> m_PrimaryWindowViewport; // !< Viewport for the main window.
196
195
197
196
std::vector<std::shared_ptr<SDL_Window>> m_MultiDisplayWindows; // !< Additional windows for multi-display fullscreen.
Original file line number Diff line number Diff line change 1
1
#include " Shader.h"
2
2
#include " glad/gl.h"
3
+ #include " glm/glm.hpp"
3
4
#include " glm/gtc/type_ptr.hpp"
4
5
#include " GLCheck.h"
5
6
Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
3
#include " Serializable.h"
4
- #include " glm/glm .hpp"
4
+ #include " glm/fwd .hpp"
5
5
6
6
namespace RTE {
7
7
class Shader {
You can’t perform that action at this time.
0 commit comments