| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Chris
On May 21, 2005, at 1:51 PM, Michael Hanna wrote:
I can't see anything wrong with the structure of my program, but the pixels don't appear with glDrawArrays(they do when I draw with glVertex4f directly from the struct). My initGL method is called from initWithFrame...
[...] glVertexPointer(4,GL_FLOAT, 4*sizeof(GLfloat), mVertex); glColorPointer(4,GL_FLOAT, 4*sizeof(GLfloat), mColor); [...]
_______________________________________________ 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
| References: | |
| >Pixels don't appear with glDrawArrays (From: Michael Hanna <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.