Hi,
how about the size of the index buffer? The size is defined as 2 * 8192 * 3 which gives 49152 bytes. However, you write 65*65*6*2 = 50700 amount of bytes.
Best regards!
Show differencesHistory of post edits
#3kauna
Posted 30 April 2012 - 09:37 AM
Hi,
how about the size of index buffer? The size is defined as 2 * 8192 * 3 which gives 49152 bytes. However, you write 65*65*6*2 = 50700 amount of bytes.
Best regards!
how about the size of index buffer? The size is defined as 2 * 8192 * 3 which gives 49152 bytes. However, you write 65*65*6*2 = 50700 amount of bytes.
Best regards!
#2kauna
Posted 30 April 2012 - 09:36 AM
Hi,
how about the size of index buffer? The size is defined as
Best regards!
how about the size of index buffer? The size is defined as
sizeof
(
short
)*
CHUNK_PRIMITIVES
*
3
which gives 49152 bytes. However, you write 65*65*6*2 = 50700 amount of bytes.Best regards!
#1kauna
Posted 30 April 2012 - 09:36 AM
Hi,
how about the size of index buffer? The size is defined as
Best regards!
how about the size of index buffer? The size is defined as
sizeof
(
short
)*
CHUNK_PRIMITIVES
*
3
which gives 49152 bytes. However, you write 65*65*6*2 = 50700 amount of bytes.Best regards!