diff options
author | Brian <[email protected]> | 2007-08-20 16:31:12 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-20 16:31:12 -0600 |
commit | 8175eaa3b49f3b62f7ab251c4e0fbd14dd9f7e2b (patch) | |
tree | 9f49d51df082f2e2033bf6c624e3d2c9b35af2f8 /src/mesa/pipe/draw/draw_context.c | |
parent | 51da8ee85eccf0df3721cbd863cd174382d1ddfd (diff) |
Checkpoint: remove more of the old draw_vb() code.
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.c')
-rw-r--r-- | src/mesa/pipe/draw/draw_context.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_context.c b/src/mesa/pipe/draw/draw_context.c index cc00576c53b..0a3df37b7fa 100644 --- a/src/mesa/pipe/draw/draw_context.c +++ b/src/mesa/pipe/draw/draw_context.c @@ -60,8 +60,10 @@ struct draw_context *draw_create( void ) draw->nr_planes = 6; #ifdef MESA +#if 0 draw->vf = vf_create( GL_TRUE ); #endif +#endif /* Statically allocate maximum sized vertices for the cache - could be cleverer... */ @@ -79,7 +81,7 @@ struct draw_context *draw_create( void ) void draw_destroy( struct draw_context *draw ) { -#ifdef MESA +#if 0/*def MESA*/ if (draw->header.storage) { ALIGN_FREE( draw->header.storage ); } @@ -194,8 +196,10 @@ void draw_set_viewport_state( struct draw_context *draw, draw->viewport = *viewport; /* struct copy */ #ifdef MESA +#if 0 vf_set_vp_scale_translate( draw->vf, viewport->scale, viewport->translate ); #endif +#endif /* Using tnl/ and vf/ modules is temporary while getting started. * Full pipe will have vertex shader, vertex fetch of its own. |