summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_fs.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-03-14 07:45:59 -0600
committerBrian Paul <[email protected]>2013-03-14 18:17:18 -0600
commitf4a2c29d932b91fe0a311a656b4ce1fa061a4f6b (patch)
treef011559414f88e0ce532d7905c8874e9df24a6d1 /src/gallium/drivers/softpipe/sp_fs.h
parent2f6970ae970860acaaaa21b2354f6e447faf15bd (diff)
softpipe: fix up NUM_ENTRIES confusion
There were two different NUM_ENTRIES #defines for the framebuffer tile cache and the texture tile cache. Rename the later to fix the warnings: In file included from sp_flush.c:40:0: sp_tex_tile_cache.h:76:0: warning: "NUM_ENTRIES" redefined sp_tile_cache.h:78:0: note: this is the location of the previous definition In file included from sp_context.c:50:0: sp_tex_tile_cache.h:76:0: warning: "NUM_ENTRIES" redefined sp_tile_cache.h:78:0: note: this is the location of the previous definition Also, replace occurances of NUM_ENTRIES with Element() macro to be safer. Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_fs.h')
0 files changed, 0 insertions, 0 deletions