summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86/rtasm/x86sse.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-03 08:50:55 -0600
committerBrian <[email protected]>2007-11-03 08:50:55 -0600
commit417cb2c1829f2119f6674987edac09c61d633b45 (patch)
tree588bc608bfa50ef25dde492a332f23c87f1d732f /src/mesa/x86/rtasm/x86sse.h
parentd9276cbb29807cbca5d7be9a0cedfeb1dcbfbd9c (diff)
Fix mem leak in SSE code generation path (Michel Dänzer) and don't crash if _mesa_exec_malloc() returns NULL.
(picked from mesa_7_0_branch)
Diffstat (limited to 'src/mesa/x86/rtasm/x86sse.h')
-rw-r--r--src/mesa/x86/rtasm/x86sse.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/x86/rtasm/x86sse.h b/src/mesa/x86/rtasm/x86sse.h
index 66fb852ac98..42b09937bca 100644
--- a/src/mesa/x86/rtasm/x86sse.h
+++ b/src/mesa/x86/rtasm/x86sse.h
@@ -80,8 +80,7 @@ enum sse_cc {
*/
-void x86_init_func( struct x86_function *p );
-void x86_init_func_size( struct x86_function *p, GLuint code_size );
+GLboolean x86_init_func( struct x86_function *p, GLuint code_size );
void x86_release_func( struct x86_function *p );
void (*x86_get_func( struct x86_function *p ))( void );