diff options
Diffstat (limited to 'gfx/models/texture.h')
| -rw-r--r-- | gfx/models/texture.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/models/texture.h b/gfx/models/texture.h index 19a2ebe..9c67ae1 100644 --- a/gfx/models/texture.h +++ b/gfx/models/texture.h @@ -28,7 +28,8 @@ public: explicit Texture(const std::filesystem::path & fileName, TextureOptions = {}); explicit Texture(const Image & image, TextureOptions = {}); explicit Texture(GLsizei width, GLsizei height, TextureOptions = {}); - explicit Texture(GLsizei width, GLsizei height, const void * data, TextureOptions = {}); + explicit Texture(GLsizei width, GLsizei height, GLenum pixelFormat, GLenum PixelType, const void * pixels, + TextureOptions = {}); virtual void bind(GLuint unit) const; |
