Cleanup: Missing debug #ifdef for GPU_vertbuf_raw_step

This commit is contained in:
YimingWu 2023-01-05 11:01:32 +08:00
parent a7cc6e015c
commit 168091a1d6
5 changed files with 6 additions and 4 deletions

@ -1 +1 @@
Subproject commit 4a581c54af9b92cb670d750951b9382160f10f3e
Subproject commit 7084c4ecd97d93459d9d23fd90f81589b09be5df

@ -1 +1 @@
Subproject commit 0b0052bd53ad8249ed07dfb87705c338af698bde
Subproject commit a9d4443c244f89399ec4bcc427e05a07950528cc

@ -1 +1 @@
Subproject commit 96143b1a8b037ea3c81f065f557025db9fe1ace3
Subproject commit bdcfdd47ec3451822b21d1cff2ea2db751093c9a

View File

@ -141,7 +141,9 @@ GPU_INLINE void *GPU_vertbuf_raw_step(GPUVertBufRaw *a)
{
unsigned char *data = a->data;
a->data += a->stride;
#ifdef DEBUG
BLI_assert(data < a->_data_end);
#endif
return (void *)data;
}

@ -1 +1 @@
Subproject commit fdfa2fcb9495d87571f2dfe2ae9fa0e032536600
Subproject commit e1744b9bd82527cf7e8af63362b61bd309b5711b