This commit is contained in:
Jonas Kulla 2013-09-03 16:47:53 +02:00
parent 84db116d0c
commit 3761c62d86
1 changed files with 2 additions and 2 deletions

View File

@ -127,8 +127,8 @@ TexFBO TexPool::request(int width, int height)
int maxSize = glState.caps.maxTexSize;
if (width > maxSize || height > maxSize)
throw Exception(Exception::MKXPError,
"Texture dimensions [%s, %s] exceed hardware capabilities",
QByteArray::number(width), QByteArray::number(height));
"Texture dimensions [%s, %s] exceed hardware capabilities",
QByteArray::number(width), QByteArray::number(height));
/* Nope, create it instead */
TexFBO::init(cobj.obj);