feat: add android support
This commit is contained in:
@@ -10,10 +10,7 @@
|
||||
|
||||
#include <string>
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
namespace gl {
|
||||
enum class GLenum : unsigned int;
|
||||
}
|
||||
#include "render/GL.h"
|
||||
|
||||
class ShaderProgram {
|
||||
public:
|
||||
@@ -40,8 +37,8 @@ private:
|
||||
unsigned int programID;
|
||||
unsigned int vertexShaderID;
|
||||
unsigned int fragmentShaderID;
|
||||
int loadShaderFromFile(const std::string& file, gl::GLenum type);
|
||||
int loadShader(const std::string& source, gl::GLenum type);
|
||||
int loadShaderFromFile(const std::string& file, GLenum type);
|
||||
int loadShader(const std::string& source, GLenum type);
|
||||
};
|
||||
|
||||
#endif /* RENDER_SHADERS_SHADERPROGRAM_H_ */
|
||||
|
||||
Reference in New Issue
Block a user