Re: Code doesn't run on amd/ati hardware
Ian Mallett <[email protected]> Mon, 14 Jan 2013 15:44:07 -0700
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <CAG4NV=uwpzjvvbsOmV_7GxGZD-AQmRo5+-8xewKtnL2Yw5_gKg@mail.gmail.com> |
Hey, I had exactly this same problem some years ago. The solution for me was to replace: glShaderSource(self.fragmentShaderId, self.fragmentShader120) . . . with: glShaderSource(self.fragmentShaderId, [self.fragmentShader120]) Do the same for the vertex program. Ian ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net _______________________________________________ PyOpenGL-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyopengl-users