mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 03:50:13 +01:00
translate: Eliminate void pointer arithmetic.
Non-portable.
This commit is contained in:
parent
f945cb6515
commit
ded92e5dd8
1 changed files with 1 additions and 1 deletions
|
|
@ -372,7 +372,7 @@ static ALWAYS_INLINE void PIPE_CDECL generic_run_one( struct translate_generic *
|
|||
|
||||
for (attr = 0; attr < nr_attrs; attr++) {
|
||||
float data[4];
|
||||
char *dst = vert + tg->attrib[attr].output_offset;
|
||||
uint8_t *dst = (uint8_t *)vert + tg->attrib[attr].output_offset;
|
||||
|
||||
if (tg->attrib[attr].type == TRANSLATE_ELEMENT_NORMAL) {
|
||||
const uint8_t *src;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue