diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-01-13 17:58:41 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-01-13 17:58:41 +0000 |
commit | 113edcc755cd6c86c7eba3929514f628d8c7c119 (patch) | |
tree | 51359e162d0f5f680df271a78a9622f9933716f4 /src/mesa/drivers/glide/fxapi.c | |
parent | 4049cd35d89ad5eb29de15705ddc4190df5e8946 (diff) |
added fxMesaContext arg to fxInitPixelTables()
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 568b30b9a0..7a2272e652 100644 --- a/src/mesa/drivers/glide/fxapi.c +++ b/src/mesa/drivers/glide/fxapi.c @@ -973,7 +973,7 @@ fxMesaContext GLAPIENTRY fxMesaCreateContext(GLuint win, /* Pixel tables are use during pixel read-back */ #if FXMESA_USE_ARGB - fxInitPixelTables(GL_FALSE); /* Force RGB pixel order */ + fxInitPixelTables(fxMesa, GL_FALSE); /* Force RGB pixel order */ #else if (glbHWConfig.SSTs[glbCurrentBoard].type == GR_SSTTYPE_VOODOO) { /* jk991130 - GROSS HACK!!! - Voodoo 3s don't use BGR!! @@ -983,14 +983,14 @@ fxMesaContext GLAPIENTRY fxMesaCreateContext(GLuint win, * Thanks to Joseph Kain for that one */ if (glbHWConfig.SSTs[glbCurrentBoard].sstBoard.VoodooConfig.nTexelfx == 2) { - fxInitPixelTables(GL_FALSE); /* use RGB pixel order (Voodoo3) */ + fxInitPixelTables(fxMesa, GL_FALSE); /* use RGB pixel order (Voodoo3) */ } else { - fxInitPixelTables(GL_TRUE); /* use BGR pixel order on Voodoo1/2 */ + fxInitPixelTables(fxMesa, GL_TRUE); /* use BGR pixel order on Voodoo1/2 */ } } else { - fxInitPixelTables(GL_FALSE); /* use RGB pixel order otherwise */ + fxInitPixelTables(fxMesa, GL_FALSE); /* use RGB pixel order otherwise */ } #endif |