From d9f1e453ea775f2394d6e9cf0d307ab4e5334fec Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Thu, 9 Oct 2003 15:12:20 +0000 Subject: Reorganized combiners. Added optimized span functions. --- src/mesa/drivers/glide/fxapi.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/mesa/drivers/glide/fxapi.c') diff --git a/src/mesa/drivers/glide/fxapi.c b/src/mesa/drivers/glide/fxapi.c index 89b4a38a62..28b9059c19 100644 --- a/src/mesa/drivers/glide/fxapi.c +++ b/src/mesa/drivers/glide/fxapi.c @@ -1,4 +1,4 @@ -/* $Id: fxapi.c,v 1.38 2003/10/02 17:36:44 brianp Exp $ */ +/* $Id: fxapi.c,v 1.39 2003/10/09 15:12:21 dborca Exp $ */ /* * Mesa 3-D graphics library @@ -520,17 +520,20 @@ fxMesaCreateContext(GLuint win, fxInitPixelTables(fxMesa, useBGR); - fxMesa->width = FX_grSstScreenWidth(); - fxMesa->height = FX_grSstScreenHeight(); + /* screen */ + fxMesa->screen_width = FX_grSstScreenWidth(); + fxMesa->screen_height = FX_grSstScreenHeight(); + /* window inside screen */ + fxMesa->width = fxMesa->screen_width; + fxMesa->height = fxMesa->screen_height; + + /* scissor inside window */ fxMesa->clipMinX = 0; fxMesa->clipMaxX = fxMesa->width; fxMesa->clipMinY = 0; fxMesa->clipMaxY = fxMesa->height; - fxMesa->screen_width = fxMesa->width; - fxMesa->screen_height = fxMesa->height; - if (verbose) { char buf[80]; -- cgit v1.2.3