diff options
author | Daniel Borca <[email protected]> | 2003-11-03 12:01:03 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2003-11-03 12:01:03 +0000 |
commit | 313e12e05843dadb12a3a53d2dd161478c9b3202 (patch) | |
tree | 83cef18b4fcf383803b3a60d3902832e146deb7d /src/mesa/drivers/glide/fxapi.c | |
parent | 7093114285bb315070af572ff4aecc204c400ef4 (diff) |
Voodoo2 happiness
Diffstat (limited to 'src/mesa/drivers/glide/fxapi.c')
-rw-r--r-- | src/mesa/drivers/glide/fxapi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/glide/fxapi.c b/src/mesa/drivers/glide/fxapi.c index b726240cba9..57d5034557f 100644 --- a/src/mesa/drivers/glide/fxapi.c +++ b/src/mesa/drivers/glide/fxapi.c @@ -555,19 +555,19 @@ fxMesaCreateContext(GLuint win, grGet(GR_MEMORY_TMU, 4, &result); tmuRam = result / (1024 * 1024); grGet(GR_MEMORY_FB, 4, &result); - fbRam = result / 1024; + fbRam = result / (1024 * 1024); } END_BOARD_LOCK(); - sprintf(fxMesa->rendererString, "Mesa %s v0.51 %s %dkB FB, %dMB TM, %d TMU, %s", + sprintf(fxMesa->rendererString, "Mesa %s v0.51 %s %dMB FB, %dMB TM, %d TMU, %s", grGetString(GR_RENDERER), grGetString(GR_HARDWARE), fbRam, tmuRam * voodoo->nTexelfx, voodoo->nTexelfx, (voodoo->numChips > 1) ? "SLI" : "NOSLI"); - - fxInitPixelTables(fxMesa, useBGR); + + fxMesa->bgrOrder = useBGR; /* screen */ fxMesa->screen_width = FX_grSstScreenWidth(); |