&st_update_fs,
&st_update_setup,
&st_update_viewport,
+ &st_update_scissor,
/* will be patched out at runtime */
/* &st_update_constants */
};
st->atoms = _mesa_malloc(sizeof(atoms));
st->nr_atoms = sizeof(atoms)/sizeof(*atoms);
- _mesa_memcpy(st->atoms, atoms, sizeof(atoms));
+ memcpy(st->atoms, atoms, sizeof(atoms));
/* Patch in a pointer to the dynamic state atom:
*/
if (st->atoms[i] == &st_update_constants)
st->atoms[i] = &st->constants.tracked_state;
- _mesa_memcpy(&st->constants.tracked_state,
- &st_update_constants,
- sizeof(st_update_constants));
+ memcpy(&st->constants.tracked_state,
+ &st_update_constants,
+ sizeof(st_update_constants));
}
const struct st_tracked_state st_update_setup;
const struct st_tracked_state st_update_viewport;
const struct st_tracked_state st_update_constants;
+const struct st_tracked_state st_update_scissor;
#endif