summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_context.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-20 16:31:12 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-20 16:31:12 -0600
commit8175eaa3b49f3b62f7ab251c4e0fbd14dd9f7e2b (patch)
tree9f49d51df082f2e2033bf6c624e3d2c9b35af2f8 /src/mesa/pipe/draw/draw_context.c
parent51da8ee85eccf0df3721cbd863cd174382d1ddfd (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.c6
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 cc00576c53..0a3df37b7f 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.