minor code movement
authorBrian <brian.paul@tungstengraphics.com>
Fri, 7 Dec 2007 17:18:34 +0000 (10:18 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 7 Dec 2007 17:18:34 +0000 (10:18 -0700)
src/mesa/pipe/softpipe/sp_context.c

index f7f0316cf2a32061a743352fc76dcf2a16481517..696b991334b3dc3d5c51416d0db81c96f45a15e0 100644 (file)
@@ -255,6 +255,8 @@ struct pipe_context *softpipe_create( struct pipe_winsys *pipe_winsys,
 
    /* queries */
    softpipe->pipe.is_format_supported = softpipe_is_format_supported;
+   softpipe->pipe.get_name = softpipe_get_name;
+   softpipe->pipe.get_vendor = softpipe_get_vendor;
    softpipe->pipe.get_param = softpipe_get_param;
    softpipe->pipe.get_paramf = softpipe_get_paramf;
 
@@ -307,9 +309,6 @@ struct pipe_context *softpipe_create( struct pipe_winsys *pipe_winsys,
    softpipe->pipe.end_query = softpipe_end_query;
    softpipe->pipe.wait_query = softpipe_wait_query;
 
-   softpipe->pipe.get_name = softpipe_get_name;
-   softpipe->pipe.get_vendor = softpipe_get_vendor;
-
    /* textures */
    softpipe->pipe.texture_create = softpipe_texture_create;
    softpipe->pipe.texture_release = softpipe_texture_release;