"out of memory" glClear error on Windoze XP SP2

JoN <[email protected]>
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
I've narrowed it down to DEFINITELY the glClear call, nothing to do with GLUT as
far as I can see.

Jon


Quoting JoN <[email protected]>:

> 
> Hello
> I get an "out of memory" error, it appears on a glClear called by GLUT.
> 
> The environment is:
> 
> Python 2.5.1
> PyOpenGL-3.0.0a6
> PyOpenGL-Demo-3.0.0a6
> 
> Windows XP SP2 (Actually, come to think of it....I had no problems before
> SP2!)
> 
> 
> If I run lesson6.py from the NeHe demos (actually it happens on other progs
> including ones I wrote myself that used to work), I get:
> 
> C:\Python25\Lib\site-packages\PyOpenGL_Demo-3.0.0a6-py2.5.egg\PyOpenGL-Demo\NeHe
> >lesson6.py
> Hit ESC key to quit.
> Traceback (most recent call last):
>   File "build\bdist.win32\egg\OpenGL\GLUT\special.py", line 107, in safeCall
>     return function( *args, **named )
>   File
> "C:\Python25\Lib\site-packages\PyOpenGL_Demo-3.0.0a6-py2.5.egg\PyOpenGL-D
> emo\NeHe\lesson6.py", line 117, in DrawGLScene
>     glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)  # Clear The Screen
> And T
> he Depth Buffer
>   File "build\bdist.win32\egg\OpenGL\error.py", line 188, in glCheckError
>     baseOperation = baseOperation,
> GLError: GLError(
>         err = 1285,
>         description = 'out of memory',
>         baseOperation = glClear,
>         cArguments = (16640,)
> )
> GLUT callback forcing low-level exit on error: GLError(
>         err = 1285,
>         description = 'out of memory',
>         baseOperation = glClear,
>         cArguments = (16640,)
> )
> 
> C:\Python25\Lib\site-packages\PyOpenGL_Demo-3.0.0a6-py2.5.egg\PyOpenGL-Demo\NeHe
> >
> 
> 
> Any clues?  Mike?  Anybody?
> 
> 
> Best Regs
> Jon
> 
> 
> 
> 
> 
> --------------------------------------------------------------------
> Come and visit Web Prophets Website at http://www.webprophets.net.au
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> PyOpenGL Homepage
> http://pyopengl.sourceforge.net
> _______________________________________________
> PyOpenGL-Devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyopengl-devel
> 




--------------------------------------------------------------------
Come and visit Web Prophets Website at http://www.webprophets.net.au


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.