mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
LibGL: Use LibGLSL to compile shaders
This commit is contained in:
parent
67b2f8d68d
commit
4ad41e6680
4 changed files with 62 additions and 3 deletions
|
@ -9,10 +9,12 @@
|
|||
#include <AK/Error.h>
|
||||
#include <AK/NonnullRefPtr.h>
|
||||
#include <AK/Optional.h>
|
||||
#include <AK/OwnPtr.h>
|
||||
#include <AK/RefCounted.h>
|
||||
#include <AK/String.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibGL/Shaders/Shader.h>
|
||||
#include <LibGLSL/LinkedShader.h>
|
||||
|
||||
namespace GL {
|
||||
|
||||
|
@ -31,6 +33,8 @@ private:
|
|||
Vector<NonnullRefPtr<Shader>> m_vertex_shaders;
|
||||
Vector<NonnullRefPtr<Shader>> m_fragment_shaders;
|
||||
Optional<String> m_info_log;
|
||||
OwnPtr<GLSL::LinkedShader> m_linked_vertex_shader;
|
||||
OwnPtr<GLSL::LinkedShader> m_linked_fragment_shader;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue