Notice: If you are member of any public project or group, please make sure that your GitLab username is not the same as the LRZ identifier/Kennung (see https://gitlab.lrz.de/profile/account). Please change your username if necessary. For more information see the section "Public projects / Öffentliche Projekte" at https://doku.lrz.de/display/PUBLIC/GitLab . Thank you!

Commit 211311c1 authored by Jakob Weiss's avatar Jakob Weiss

Fixed bug regarding creating textures without initial data

parent a15fc331
......@@ -46,7 +46,6 @@ Texture::Texture(GLenum type, const cgt::ivec3& dimensions, GLint internalFormat
, bpp_(0)
{
init();
uploadTexture(nullptr, calcMatchingPixelFormat(internalFormat), calcMatchingPixelDataType(internalFormat));
}
Texture::Texture(GLenum type, const cgt::ivec3& dimensions, GLint internalFormat, GLubyte* data, GLint format, GLenum dataType, Filter filter /*= LINEAR*/)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment