Minor stuff

This commit is contained in:
Jérôme Leclercq
2021-01-22 23:23:28 +01:00
parent d52be87fd5
commit a6ff64106e
10 changed files with 26 additions and 10 deletions

View File

@@ -56,7 +56,6 @@ namespace Nz::GL
const Context& context = EnsureDeviceContext();
context.BindTexture(m_target, m_objectId);
context.glTexImage2D(ToOpenGL(m_target), level, internalFormat, width, height, border, format, type, data);
//< TODO: Handle errors
}
inline void Texture::TexSubImage2D(GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* data)