| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
here's the code:
GLbyte *thePixels;
glReadBuffer(GL_FRONT_LEFT); // Is this necessary since I read from the default
buffer?
glReadPixels(10,10, 10,10, GL_RGBA, GL_BYTE, &thePixels);
cout << (int)thePixels[0] << endl;
| 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.