GL/Texture: Add internal format as parameter

This commit is contained in:
Connor McLaughlin
2020-04-24 03:21:44 +10:00
parent 990147b7e9
commit 4a4c3d5e3b
3 changed files with 8 additions and 7 deletions

View File

@ -10,7 +10,7 @@ public:
Texture(Texture&& moved);
~Texture();
bool Create(u32 width, u32 height, GLenum format, GLenum type, const void* data = nullptr,
bool Create(u32 width, u32 height, GLenum internal_format, GLenum format, GLenum type, const void* data = nullptr,
bool linear_filter = false);
bool CreateFramebuffer();