Bug 31560 - [tdfx] tdfx_tex.c:702: error: ‘const struct gl_color_table’ has no member named ‘Format’
Summary: [tdfx] tdfx_tex.c:702: error: ‘const struct gl_color_table’ has no member nam...
Status: CLOSED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/TDFX (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium blocker
Assignee: Adam Jackson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-11 15:33 UTC by Vinson Lee
Modified: 2010-11-11 16:22 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.