Refactor & undo shader commits AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 6m18s
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 6m18s
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -5,7 +5,6 @@
|
||||
#include <chrono>
|
||||
#include <J3ML/LinearAlgebra/Vector2.hpp>
|
||||
#include <JGL/types/Font.h>
|
||||
#include <JGL/types/Shader.h>
|
||||
#include <JGL/Logger.h>
|
||||
#include <ReTexture/Texture.h>
|
||||
|
||||
@@ -14,7 +13,6 @@ using namespace JGL;
|
||||
|
||||
JGL::Font FreeSans;
|
||||
JGL::Font Jupiteroid;
|
||||
JGL::Shader test_shader;
|
||||
|
||||
class Gizmo
|
||||
{
|
||||
@@ -137,9 +135,7 @@ public:
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
glDepthFunc(GL_LESS);
|
||||
glDepthMask(GL_TRUE);
|
||||
test_shader = Shader("assets/shader_programs/test_vertex.glsl", "assets/shader_programs/test_fragment.glsl");
|
||||
image = new Texture("assets/sprites/Re3D.png", TextureFilteringMode::BILINEAR);
|
||||
test_shader.SetAV2("position", {{2,2}});
|
||||
}
|
||||
|
||||
Vector3 textAngle = {0,0,0};
|
||||
|
Reference in New Issue
Block a user