Procházet zdrojové kódy

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 před 16 roky
rodič
revize
d8331aaf5b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      src/gallium/drivers/svga/svga_tgsi.h

+ 1
- 1
src/gallium/drivers/svga/svga_tgsi.h Zobrazit soubor

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


Načítá se…
Zrušit
Uložit