Problems with simple pyopengl program

James Gao <[email protected]>
Newsgroups gmane.comp.python.opengl.user
Message-ID <CAH6daNyVZY+0_DXsBK0sjkOT2aGd1h=gfOOn0ZZfwHb5NNFnYA@mail.gmail.com>
Hi everyone,
I'm trying to get a very very simple pass-through shader to work in
pyopengl. I compiled and tested a simple C program, available here:
http://pastebin.com/FGVxUUXH
This program works exactly as expected -- a red plane is drawn, completely
covering the screen.

I tried to make the *exact* duplicate of this C program here:
http://pastebin.com/dYbbXTY1
This apparently does not work. Only the gray glClear color is displayed,
and the two triangles are never drawn.

Any insight into why this isn't working?

-James

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
_______________________________________________
PyOpenGL-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyopengl-users
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.