#0 OpenGL::checkGLError ( expr=0x83cac38 "glTexImage2D(GL_TEXTURE_2D, 0, _glIntFormat, _textureData.w, _textureData.h, 0, _glFormat, _glType, NULL)", file=0x83caac8 "backends/graphics/opengl/texture.cpp", line=114) at backends/graphics/opengl/debug.cpp:60 #1 0x0823af4f in OpenGL::Texture::allocate (this=0x8ed6908, width=1280, height=800) at backends/graphics/opengl/texture.cpp:113 #2 0x08238d6a in OpenGL::OpenGLGraphicsManager::setActualScreenSize ( this=0x8964758, width=3220506316, height=800) at backends/graphics/opengl/opengl-graphics.cpp:768 #3 0x08244c4e in OpenGLSdlGraphicsManager::setupMode (this=0x8964758, width=1280, height=800) at backends/graphics/openglsdl/openglsdl-graphics.cpp:329 #4 0x08244e1f in OpenGLSdlGraphicsManager::loadVideoMode (this=0x0, requestedWidth=1024, requestedHeight=16, format=...) at backends/graphics/openglsdl/openglsdl-graphics.cpp:249 #5 0x08239a5b in OpenGL::OpenGLGraphicsManager::endGFXTransaction ( this=0x8964758) at backends/graphics/opengl/opengl-graphics.cpp:212 #6 0x082450bd in OpenGLSdlGraphicsManager::notifyEvent (this=0x8964758, event=...) at backends/graphics/openglsdl/openglsdl-graphics.cpp:347 #7 0x0830a02a in Common::EventDispatcher::dispatchEvent (this=0x897f6bc, event=...) at common/EventDispatcher.cpp:135 #8 0x0830a151 in Common::EventDispatcher::dispatch (this=0x897f6bc) at common/EventDispatcher.cpp:61 (gdb) print *this $4 = {_vptr.Texture = 0x83caf08, _glIntFormat = 6408, _glFormat = 6408, _glType = 32821, _format = {bytesPerPixel = 4 '\004', rLoss = 0 '\000', gLoss = 0 '\000', bLoss = 0 '\000', aLoss = 0 '\000', rShift = 24 '\030', gShift = 16 '\020', bShift = 8 '\b', aShift = 0 '\000'}, _glFilter = 9729, _glTexture = 20, _textureData = {w = 2048, h = 1024, pitch = 8192, pixels = 0xae4c4008, format = {bytesPerPixel = 4 '\004', rLoss = 0 '\000', gLoss = 0 '\000', bLoss = 0 '\000', aLoss = 0 '\000', rShift = 24 '\030', gShift = 16 '\020', bShift = 8 '\b', aShift = 0 '\000'}}, _userPixelData = {w = 1024, h = 767, pitch = 4096, pixels = 0xb2892008, format = {bytesPerPixel = 4 '\004', rLoss = 0 '\000', gLoss = 0 '\000', bLoss = 0 '\000', aLoss = 0 '\000', rShift = 24 '\030', gShift = 16 '\020', bShift = 8 '\b', aShift = 0 '\000'}}, _allDirty = true, _dirtyArea = {top = 0, left = 0, bottom = 0, right = 0}}