From: tansel halic (tanselhalic++at++yahoo.com)
Date: 08/04/2005 14:42:25
my application crashes when i call opengl commands in
channel traversal function.my app is running on
windows and using opengl performer 3.2 demo
version..code is very simple but app is
crashing..whenever i comment out glVertex routines it
runs ok..
.
.
pfChanDraw(chan,PFTRAV_DRAW,testDraw);
.
void testDraw(pfChannel *chan,void *data){
pfClearChan(chan);
pfDraw();
printf("\ndraw called");
glMatrixMode(GL_MODELVIEW);
glPushMatrix();
glLoadIdentity();
glColor3f(1.0,0.0,0.0);
glBegin(GL_TRIANGLES);
glVertex3f(0.0,0.0,0.0);
glVertex3f(0.0,1,0,0.0);
glVertex3f(1.0,0,0,0.0);
glEnd();
glPopMatrix();
}
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
This archive was generated by hypermail 2b29 : Thu Aug 04 2005 - 14:42:35 PDT