Bug 31560 - [tdfx] tdfx_tex.c:702: error: ‘const struct gl_color_table’ has no member named ‘Format’
[tdfx] tdfx_tex.c:702: error: ‘const struct gl_color_table’ has no member nam...
Status: CLOSED FIXED
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/TDFX
git
x86 (IA32) Linux (All)
: medium blocker
Assigned To: ajax at nwnk dot net
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-11 15:33 UTC by Vinson Lee
Modified: 2010-11-11 16:22 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vinson Lee 2010-11-11 15:33:14 UTC
mesa: 6929cdd14bf90d5b145039265f2d43ded52020a3 (master)

$ ./autogen.sh --enable-debug
$ make
...
make[1]: Entering directory `mesa/src/mesa/drivers/dri/tdfx'
gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mapi -I../../../../../src/mesa -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/include/libdrm    -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -g  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DDEBUG -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71 -DFEATURE_GL=1  tdfx_tex.c -o tdfx_tex.o
tdfx_tex.c: In function ‘convertPalette’:
tdfx_tex.c:702: error: ‘const struct gl_color_table’ has no member named ‘Format’
make[1]: *** [tdfx_tex.o] Error 1


mesa/src/mesa/drivers/dri/tdfx/tdfx_tex.c
   699      default:
   700          /* XXX fixme: how can this happen? */
   701          _mesa_error(NULL, GL_INVALID_ENUM, "convertPalette: table->Format == %s",
   702                                             _mesa_lookup_enum_by_nr(table->Format));
   703          return GR_TEXTABLE_PALETTE;
   704      }
Comment 1 Brian Paul 2010-11-11 15:57:30 UTC
Fixed w/ commit d18df9e336b5d2e68a4a6185f7b9d0d0c095c3c4

Nobody uses this driver any more - we should just kill it.
Comment 2 Vinson Lee 2010-11-11 16:22:56 UTC
mesa: d18df9e336b5d2e68a4a6185f7b9d0d0c095c3c4 (master)

Verified fixed.