use mesa import wrappers, bug 4468
This commit is contained in:
@@ -1034,8 +1034,8 @@ execute_program( GLcontext *ctx,
|
||||
{
|
||||
GLfloat a[4], result[4];
|
||||
fetch_vector1( ctx, &inst->SrcReg[0], machine, program, a );
|
||||
result[0] = (GLfloat)cos(a[0]);
|
||||
result[1] = (GLfloat)sin(a[0]);
|
||||
result[0] = (GLfloat)_mesa_cos(a[0]);
|
||||
result[1] = (GLfloat)_mesa_sin(a[0]);
|
||||
result[2] = 0.0; /* undefined! */
|
||||
result[3] = 0.0; /* undefined! */
|
||||
store_vector4( inst, machine, result );
|
||||
|
Reference in New Issue
Block a user