[Mesa-dev] [PATCH 6/7] st/mesa: remove unused members in st_context

Marek Olšák maraeo at gmail.com
Wed Dec 29 11:00:05 PST 2010


What were these for?
---
 src/mesa/state_tracker/st_context.h |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index f20eb54..64a8f79 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -108,15 +108,6 @@ struct st_context
       GLuint poly_stipple[32];  /**< In OpenGL's bottom-to-top order */
    } state;
 
-   struct {
-      struct st_tracked_state tracked_state[PIPE_SHADER_TYPES];
-   } constants;
-
-   /* XXX unused: */
-   struct {
-      struct gl_fragment_program *fragment_program;
-   } cb;
-
    char vendor[100];
    char renderer[100];
 
-- 
1.7.1



More information about the mesa-dev mailing list