On Aug 15, 2004, at 3:50 PM, Frank Condello wrote:
On 15-Aug-04, at 12:34 PM, Asher Dunn wrote:
When I try to run the classic compile of one of my OpenGL apps, I get
AGL error 10006 ("invalid display") after calling aglCreateContext.
What does this error code mean?
The display probably can't handle some parameters in your pixelformat.
Make sure you're not using any OS X specific attributes, or try
different (more modest) values and build it up from there.
pixFormat.long(0) = AGL_RGBA
if doubleBuffer then pixFormat.long(4) = AGL_DOUBLEBUFFER else
pixFormat.long(4) = 0
pixFormat.long(8) = AGL_DEPTH_SIZE
pixFormat.long(12) = 32
pixFormat.long(16) = AGL_AUX_BUFFERS
pixFormat.long(20) = 0
pixFormat.long(24) = AGL_NONE
Anything look wrong with this?
Asher Dunn
--------------------------------------------------------
President and Head Developer of Fireye Software
<http://www.fireyesoftware.com/>
Make PDFs from your RB app
<http://www.fireyesoftware.com/code/pdfclasses/>
AIM: fireye2005
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|