Pārlūkot izejas kodu

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 pirms 16 gadiem
vecāks
revīzija
d8331aaf5b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      src/gallium/drivers/svga/svga_tgsi.h

+ 1
- 1
src/gallium/drivers/svga/svga_tgsi.h Parādīt failu

@@ -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];
};


Notiek ielāde…
Atcelt
Saglabāt