additional wrapper updates, bug 4468

This commit is contained in:
Brian Paul
2005-09-19 20:12:32 +00:00
parent a01cb26a90
commit b3aefd1cfb
26 changed files with 227 additions and 109 deletions

View File

@@ -821,7 +821,7 @@ execute_program( GLcontext *ctx,
result[0] = 1.0F;
result[1] = a[0];
/* XXX we could probably just use pow() here */
result[2] = (a[0] > 0.0F) ? (GLfloat) exp(a[3] * log(a[1])) : 0.0F;
result[2] = (a[0] > 0.0F) ? EXPF(a[3] * LOGF(a[1])) : 0.0F;
result[3] = 1.0F;
store_vector4( inst, machine, result );
}