summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-02 13:25:44 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-11-05 08:04:48 -0700
commitbffed01e272b9a848aa7980ae72ae291d2677d05 (patch)
treed42c86e74ea5d9ada852ac4f9999c59234dbf00e
parent01b71b8f7a77b3eb5ccc009342c1ebdc7b3dda80 (diff)
move st_create_framebuffer() to new st_framebuffer.c file
-rw-r--r--src/mesa/sources1
-rw-r--r--src/mesa/state_tracker/st_context.c10
2 files changed, 1 insertions, 10 deletions
diff --git a/src/mesa/sources b/src/mesa/sources
index 50af7d208a..5322cd8867 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 db933b86e4..fbce19b58e 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)