出現的error message:
QSGTextureAtlas: texture atlas allocation failed, code=501
src/quick/scenegraph/util/qsgatlastexture.cpp
GLenum errorCode = glGetError();
...
...
...
else if (errorCode != GL_NO_ERROR) {
qDebug("QSGTextureAtlas: texture atlas allocation failed, code=%x", errorCode);
funcs->glDeleteTextures(1, &m_texture_id);
m_texture_id = 0;
}
查了一下,是關於openGL, here
GL_INVALID_VALUE, 0x0501
Given when a value parameter is not a legal value for that function.
This is only given for local problems;
if the spec allows the value in certain circumstances,
where other parameters or state dictate those circumstances,
then GL_INVALID_OPERATION is the result instead.
編everywhere時,有打開 es2, 後來只能重編試試,只開 opengl
重編後ok
沒有留言:
張貼留言