GL_COLOR_FLOAT_APPLE
Subject : GL_COLOR_FLOAT_APPLE
From: Gordon Erlebacher <email@hidden >
Date: Thu, 11 Nov 2004 13:01:09 -0500
Delivered-to: email@hidden
Delivered-to: email@hidden
User-agent: Mozilla Thunderbird 0.8 (Macintosh/20040913)
According to documentation, the Radeon 9600 on Panther 10.3 has support
for GL_COLOR_FLOAT_APPLE. HOwever,
the program fragment:
if (cgGLIsProfileSupported(CG_PROFILE_VP20)) {
profile = CG_PROFILE_VP20;
printf("CG_PROFILE_VP0\n");
} else if (cgGLIsProfileSupported(CG_PROFILE_ARBVP1)) {
profile = CG_PROFILE_ARBVP1;
printf("ARBVP1\n");
} else {
fprintf(stderr, "Video card does not support vertex programs,
exiting...\n");
exit(-1);
}
GLboolean boole;
glGetBooleanv(GL_COLOR_FLOAT_APPLE, &boole);
printf("GL_COLOR_FLOAT_APPLE: %d\n", boole);
returns
ARBVP1
GL_COLOR_FLOAT_APPLE: 0
Is something wrong? Thanks.
Gordon
_______________________________________________
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
This email sent to email@hidden
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.