Shader.h
branchv_0
changeset 10 8382173bfc35
parent 5 ee4ba9f5a053
--- a/Shader.h	Sat Dec 02 19:33:31 2023 +0100
+++ b/Shader.h	Sat Dec 02 21:25:02 2023 +0100
@@ -26,7 +26,6 @@
 
 class Shader {
 public:
-	class Impl;
 
 	enum class Type : GLenum {
 		FRAGMENT = GL_FRAGMENT_SHADER,
@@ -39,6 +38,7 @@
 	const std::string getFileName() const;
 	void update(const Buffer& source);
 private:
+	class Impl;
 	Impl* impl;
 	Shader(const Shader&) = delete;
 	Shader& operator=(const Shader&) = delete;