Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualZaoshi Kaba

Posted 06 January 2013 - 07:17 AM

and am not sure how am suppose to check the buffer memory location.
so I just took a screenshot >.<
am guessing its nots aligned as there are alot of things that ends with 8 XD
http://imgur.com/eucRH
and this second picture is how it looks like when it does work (by undeclare the string)
http://imgur.com/fyfYs
You are right.
As you can see in first screenshot address of cBufferObject.WVP.r is 0x00c45998 which means it's not aligned.
While in second screenshot it's 0x01de5950 so it is aligned and doesn't crash.

Now you just need to figure which new call to fix, or use special functions to load/unload unaligned data into local variables.

#1Zaoshi Kaba

Posted 06 January 2013 - 07:14 AM

 

and am not sure how am suppose to check the buffer memory location.
so I just took a screenshot >.<

am guessing its nots aligned as there are alot of things that ends with 8 XD

http://imgur.com/eucRH

and this second picture is how it looks like when it does work (by undeclare the string)

http://imgur.com/fyfYs

You are right.

As you can see in first screenshot address of cBufferObject.WVP.r is 0x00c45998 which means it's not aligned.

While in second screenshot it's 0x01de5950 so it is aligned and doesn't crash.


PARTNERS