summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-24 18:19:50 -0600
committerBrian <[email protected]>2007-08-24 18:19:50 -0600
commit29dc25bcfebfcb1764382bee960851ab051e6bbe (patch)
tree8bb0df2b5dae9bca14bb308d8d8692e223428ec2 /src
parentb7de64c46cc76abea99ec3fbe80d6b29a0645b56 (diff)
check for USE_X86_ASM or SLANG_X86 in st_delete_program()
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_cb_program.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_program.c b/src/mesa/state_tracker/st_cb_program.c
index 25da720d865..b84f552404f 100644
--- a/src/mesa/state_tracker/st_cb_program.c
+++ b/src/mesa/state_tracker/st_cb_program.c
@@ -112,9 +112,11 @@ static void st_delete_program( GLcontext *ctx,
switch( prog->Target ) {
case GL_VERTEX_PROGRAM_ARB:
{
+#if defined(USE_X86_ASM) || defined(SLANG_X86)
struct st_vertex_program *p = (struct st_vertex_program *) prog;
x86_release_func( &p->sse2_program );
+#endif
break;
}