Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple glut window -- gl_FragData / gl_FragColor ?



On Nov 14, 2007 4:44 PM, mayank <email@hidden> wrote:
> Hi ..
>
> If I am using more than one glut window - how do i set up the shader
> so I can use separate shaders for each window.
> My shaders work fine with 1 window, but as soon as I enable multiple
> windows, they fail.
>
> Does anyone has solutions for the same?

GLUT windows don't share resources.  You need to load each shader,
texture, etc. in each window.  AFAIK there's no way to make them share
resources.

-Keith
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden

References: 
 >multiple glut window -- gl_FragData / gl_FragColor ? (From: mayank <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.