OpenGL defaults GL_TEXTURE_MIN_FILTER=GL_NEAREST_MIPMAP_LINEAR and GL_TEXTURE_MAX_LEVEL=1000, and expects all these mip-map levels to be defined. With glTexStorage this is set apropriately, but when the mip-map levels are initialiazed manually, then the GL_TEXTURE_MAX_LEVEL must be set. Tested-by: Jakob Bornecrantz <jakob@collabora.com> Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>macos/master
parent
753db79f99
commit
6b4d7f5cf8
Loading…
Reference in new issue