From: Brian Date: Fri, 2 Nov 2007 19:25:44 +0000 (-0600) Subject: move st_create_framebuffer() to new st_framebuffer.c file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bffed01e272b9a848aa7980ae72ae291d2677d05;p=mesa.git move st_create_framebuffer() to new st_framebuffer.c file --- diff --git a/src/mesa/sources b/src/mesa/sources index 50af7d208ab..5322cd88678 100644 --- a/src/mesa/sources +++ b/src/mesa/sources @@ -232,6 +232,7 @@ STATETRACKER_SOURCES = \ state_tracker/st_debug.c \ state_tracker/st_draw.c \ state_tracker/st_format.c \ + state_tracker/st_framebuffer.c \ state_tracker/st_mesa_to_tgsi.c \ state_tracker/st_program.c \ state_tracker/st_mipmap_tree.c diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index db933b86e41..fbce19b58eb 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -155,16 +155,6 @@ void st_destroy_context( struct st_context *st ) } -struct st_framebuffer *st_create_framebuffer( const __GLcontextModes *visual ) -{ - struct st_framebuffer *stfb - = CALLOC_STRUCT(st_framebuffer); - if (stfb) { - } - return stfb; -} - - void st_make_current(struct st_context *st, struct st_framebuffer *draw, struct st_framebuffer *read)