r300: remove unnecessary function calls
authorMaciej Cencora <m.cencora@gmail.com>
Thu, 23 Apr 2009 13:35:29 +0000 (15:35 +0200)
committerDave Airlie <airlied@linux.ie>
Mon, 27 Apr 2009 09:05:37 +0000 (19:05 +1000)
ae_create_context is called by vbo_CreateContext
ae_invalidate_state is called by vbo_InvalidateState

src/mesa/drivers/dri/r300/r300_context.c
src/mesa/drivers/dri/r300/r300_state.c

index 10836bb16ab39c68fb4d4a00d7cbdbf86ccca84d..3bde9ca30a845f8d9aa6f895b9430beaeaf8c47e 100644 (file)
@@ -373,7 +373,6 @@ GLboolean r300CreateContext(const __GLcontextModes * glVisual,
        _tnl_CreateContext(ctx);
        _swsetup_CreateContext(ctx);
        _swsetup_Wakeup(ctx);
-       _ae_create_context(ctx);
 
        /* Install the customized pipeline:
         */
index 14749bf2c72b47bc65ea77f7615fb384212db194..a1f78c5244e92903b9f99044b5dd199e5945139f 100644 (file)
@@ -2477,7 +2477,6 @@ static void r300InvalidateState(GLcontext * ctx, GLuint new_state)
        _swsetup_InvalidateState(ctx, new_state);
        _vbo_InvalidateState(ctx, new_state);
        _tnl_InvalidateState(ctx, new_state);
-       _ae_invalidate_state(ctx, new_state);
 
        if (new_state & (_NEW_BUFFERS | _NEW_COLOR | _NEW_PIXEL)) {
                _mesa_update_framebuffer(ctx);