From: Brian Date: Sat, 25 Aug 2007 00:19:50 +0000 (-0600) Subject: check for USE_X86_ASM or SLANG_X86 in st_delete_program() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29dc25bcfebfcb1764382bee960851ab051e6bbe;p=mesa.git check for USE_X86_ASM or SLANG_X86 in st_delete_program() --- 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; }