Browse Source

svga: make texture_target a ubyte, not a bitfield

gcc won't let us take the address of a bitfield in the svga_fs_key_size()
function.
tags/7.8-rc1
Brian Paul 16 years ago
parent
commit
d8331aaf5b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/gallium/drivers/svga/svga_tgsi.h

+ 1
- 1
src/gallium/drivers/svga/svga_tgsi.h View File

@@ -56,7 +56,7 @@ struct svga_fs_compile_key
unsigned compare_func:3;
unsigned unnormalized:1;
unsigned width_height_idx:7;
unsigned texture_target:8;
ubyte texture_target;
} tex[PIPE_MAX_SAMPLERS];
};


Loading…
Cancel
Save