Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "PyGL3Display_example_text.py", line 208, in <module>
- demo.run()
- File "PyGL3Display_example_text.py", line 126, in run
- self.font = SpriteFont('dejavu-sans', 20)
- File "PyGL3Display_example_text.py", line 60, in __init__
- self.fontmap[char] = (GL3PygameSurface.GL3Surfaceify(character),
- File "C:\Users\saluk\Downloads\PyGL3Display 1.02\release-1.0\PyGL3Display\PyGL3Display_2dSprites.py", line 343, in GL3Surfaceify
- GL3Surface.__init__(ret, pygameSurface.get_size())
- File "C:\Users\saluk\Downloads\PyGL3Display 1.02\release-1.0\PyGL3Display\PyGL3Display_2dSprites.py", line 299, in __init__
- manager.getBox(width, height, self)
- File "C:\Users\saluk\Downloads\PyGL3Display 1.02\release-1.0\PyGL3Display\PyGL3Display_2dSprites.py", line 812, in getBox
- self.makeNewAtlas()
- File "C:\Users\saluk\Downloads\PyGL3Display 1.02\release-1.0\PyGL3Display\PyGL3Display_2dSprites.py", line 793, in makeNewAtlas
- manager = self)
- File "C:\Users\saluk\Downloads\PyGL3Display 1.02\release-1.0\PyGL3Display\PyGL3Display_2dSprites.py", line 484, in __init__
- (ctypes.c_int * self.size[0] * self.size[1])())
- File "c:\python26\lib\site-packages\OpenGL\latebind.py", line 41, in __call__
- return self._finalCall( *args, **named )
- File "c:\python26\lib\site-packages\OpenGL\wrapper.py", line 791, in wrapperCall
- raise err
- OpenGL.error.GLError: GLError(
- err = 1285,
- description = 'out of memory',
- baseOperation = glTexImage2D,
- pyArgs = (
- GL_TEXTURE_2D,
- 0,
- GL_RGBA,
- 16384,
- 16384,
- 0,
- GL_RGBA,
- GL_UNSIGNED_BYTE,
- <PyGL3Display.PyGL3Display_2dSprites....,
- ),
- cArgs = (
- GL_TEXTURE_2D,
- 0,
- GL_RGBA,
- 16384,
- 16384,
- 0,
- GL_RGBA,
- GL_UNSIGNED_BYTE,
- <PyGL3Display.PyGL3Display_2dSprites....,
- ),
- cArguments = (
- GL_TEXTURE_2D,
- 0,
- GL_RGBA,
- 16384,
- 16384,
- 0,
- GL_RGBA,
- GL_UNSIGNED_BYTE,
- <PyGL3Display.PyGL3Display_2dSprites....,
- )
- )
- Exception AttributeError: "'GL3PygameSurface' object has no attribute 'atlas'" in <bound method GL3PygameSurface.__del__ of <PyGL3Display.PyGL3Display_2dSprites.GL3PygameSurface object at 0x05DFB730>> ignored
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement